]> git.eshelyaron.com Git - emacs.git/commitdiff
pop3.el (pop3-number-of-responses): Search for "+OK", not "+OK ".
authorKatsumi Yamaoka <yamaoka@jpl.org>
Mon, 6 Sep 2010 02:09:42 +0000 (02:09 +0000)
committerKatsumi Yamaoka <yamaoka@jpl.org>
Mon, 6 Sep 2010 02:09:42 +0000 (02:09 +0000)
lisp/gnus/ChangeLog
lisp/gnus/pop3.el

index 961518b964faf7e2f4de3a3c51bbfa016c279c4e..5f9e1347787ad485af905ad28a5696c3076e0d21 100644 (file)
@@ -1,3 +1,8 @@
+2010-09-06  Katsumi Yamaoka  <yamaoka@jpl.org>
+
+       * pop3.el: Require cl when compiling.
+       (pop3-number-of-responses): Search for "+OK", not "+OK ".
+
 2010-09-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 
        * gnus-start.el (gnus-get-unread-articles): Don't bother with groups
index a5b43914c215767feacf41216d921e80ae5e0176..a5470d7d818bac524abcd5b4480e53df360d3dc1 100644 (file)
@@ -33,6 +33,7 @@
 
 ;;; Code:
 
+(eval-when-compile (require 'cl))
 (require 'mail-utils)
 (defvar parse-time-months)
 
@@ -204,7 +205,7 @@ Use streaming commands."
   (let ((responses 0))
     (save-excursion
       (goto-char (point-min))
-      (while (or (and (re-search-forward "^\\+OK " nil t)
+      (while (or (and (re-search-forward "^\\+OK" nil t)
                      (or (not endp)
                          (re-search-forward "^\\.\r?\n" nil t)))
                 (re-search-forward "^-ERR " nil t))