2001-04-29 08:00:00 ShengHuo ZHU <zsh@cs.rochester.edu>
authorShengHuo ZHU <zsh@cs.rochester.edu>
Sun, 29 Apr 2001 12:56:37 +0000 (12:56 +0000)
committerShengHuo ZHU <zsh@cs.rochester.edu>
Sun, 29 Apr 2001 12:56:37 +0000 (12:56 +0000)
* mail-source.el (mail-source-movemail): Call-process may return a
signal description string.

* gnus-start.el (gnus-read-newsrc-el-file):
gnus-newsrc-file-version may be nil.

lisp/ChangeLog
lisp/gnus-start.el
lisp/mail-source.el

index baa8e4c..3337312 100644 (file)
@@ -1,5 +1,11 @@
 2001-04-29 08:00:00  ShengHuo ZHU  <zsh@cs.rochester.edu>
 
+       * mail-source.el (mail-source-movemail): Call-process may return a
+       signal description string.
+
+       * gnus-start.el (gnus-read-newsrc-el-file):
+       gnus-newsrc-file-version may be nil.
+
        * nnmail.el (nnmail-get-new-mail): Use the exact file only.
        Suggested by Michael Sperber [Mr. Preprocessor]  
        <sperber@informatik.uni-tuebingen.de>.
index e10d588..22e0096 100644 (file)
@@ -2077,7 +2077,9 @@ If FORCE is non-nil, the .newsrc file is read."
           (error "Error in %s" ding-file))))
       ;; Older versions of `gnus-format-specs' are no longer valid
       ;; in Oort Gnus 0.01.
-      (let ((version (gnus-continuum-version gnus-newsrc-file-version)))
+      (let ((version 
+            (and gnus-newsrc-file-version
+                 (gnus-continuum-version gnus-newsrc-file-version))))
        (when (or (not version)
                  (< version 5.090002))
          (setq gnus-format-specs nil)))
index 5c54fb6..618d02e 100644 (file)
@@ -539,8 +539,9 @@ Pass INFO on to CALLBACK."
                  (goto-char (point-min))
                  (when (looking-at "movemail: ")
                    (delete-region (point-min) (match-end 0)))
+                 ;; Result may be a signal description string.
                  (unless (yes-or-no-p
-                          (format "movemail: %s (%d return).  Continue? "
+                          (format "movemail: %s (%s return).  Continue? "
                                   (buffer-string) result))
                    (error "%s" (buffer-string)))
                  (setq to nil)))))))