Synch to Gnus 200307082319.
authoryamaoka <yamaoka>
Tue, 8 Jul 2003 23:56:18 +0000 (23:56 +0000)
committeryamaoka <yamaoka>
Tue, 8 Jul 2003 23:56:18 +0000 (23:56 +0000)
lisp/ChangeLog
lisp/mail-source.el

index eef1806..8c1c2b4 100644 (file)
@@ -1,3 +1,8 @@
+2003-07-09  Jesper Harder  <harder@ifa.au.dk>
+
+       * mail-source.el (mail-source-movemail): Handle non-numerical
+       return values.
+
 2003-07-08  Jesper Harder  <harder@ifa.au.dk>
 
        * mailcap.el (mailcap-parse-args-syntax-table)
index 4d34f30..0045cc3 100644 (file)
@@ -609,7 +609,8 @@ Pass INFO on to CALLBACK."
                (set-file-modes to mail-source-default-file-modes))
              (if (and (or (not (buffer-modified-p errors))
                           (zerop (buffer-size errors)))
-                      (zerop result))
+                      (and (numberp result)
+                           (zerop result)))
                  ;; No output => movemail won.
                  t
                (set-buffer errors)