(imap-arrival-filter): Fix test for missing process
authorKai Grossjohann <kgrossjo@eu.uu.net>
Thu, 10 Jul 2003 07:43:34 +0000 (07:43 +0000)
committerKai Grossjohann <kgrossjo@eu.uu.net>
Thu, 10 Jul 2003 07:43:34 +0000 (07:43 +0000)
buffer.

lisp/ChangeLog
lisp/imap.el

index bfc68ec..9544017 100644 (file)
@@ -1,3 +1,8 @@
+2003-07-10  Kai Gro\e,A_\e(Bjohann  <kai.grossjohann@gmx.net>
+
+       * imap.el (imap-arrival-filter): Fix test for missing process
+       buffer.
+
 2003-07-09  Kai Gro\e,A_\e(Bjohann  <kai.grossjohann@gmx.net>
        From Gaute B Strokkenes <gs234@cam.ac.uk> (tiny patch).
 
index 74e581c..c1f460d 100644 (file)
@@ -1789,7 +1789,7 @@ Return nil if no complete line has arrived."
   "IMAP process filter."
   ;; Sometimes, we are called even though the process has died.
   ;; Better abstain from doing stuff in that case.
-  (when (process-buffer proc)
+  (when (buffer-name (process-buffer proc))
     (with-current-buffer (process-buffer proc)
       (goto-char (point-max))
       (insert string)