Synch to Gnus 200307140803.
authoryamaoka <yamaoka>
Mon, 14 Jul 2003 07:59:02 +0000 (07:59 +0000)
committeryamaoka <yamaoka>
Mon, 14 Jul 2003 07:59:02 +0000 (07:59 +0000)
lisp/ChangeLog
lisp/mail-source.el

index e3b6be9..d7b7ad9 100644 (file)
@@ -1,3 +1,8 @@
+2003-07-14  Simon Josefsson  <jas@extundo.com>
+
+       * mail-source.el (mail-source-fetch-imap): Don't assume
+       imap-error-text returns something.
+
 2003-07-12  Nevin Kapur  <kapur@mts.jhu.edu>
 
        * nnimap.el (nnimap-request-newgroups): Use the pattern in
index 0045cc3..0ae90a8 100644 (file)
@@ -1031,7 +1031,7 @@ This only works when `display-time' is enabled."
        (setq mail-source-password-cache
              (delq (assoc from mail-source-password-cache)
                    mail-source-password-cache))
-       (error (imap-error-text buf)))
+       (error "IMAP error: %s" (imap-error-text buf)))
       (kill-buffer buf)
       found)))