]> git.eshelyaron.com Git - emacs.git/commitdiff
nnimap.el (nnimap-wait-for-response): Minor fixup of message string.
authorLars Ingebrigtsen <larsi@gnus.org>
Thu, 9 Feb 2012 06:05:43 +0000 (06:05 +0000)
committerKatsumi Yamaoka <yamaoka@jpl.org>
Thu, 9 Feb 2012 06:05:43 +0000 (06:05 +0000)
lisp/gnus/ChangeLog
lisp/gnus/nnimap.el

index 9cd6879988ba34c71c5c1d554013d4b979180aee..6ce85227e0b43765d5e19ca7720959dfefa22cfb 100644 (file)
@@ -1,5 +1,7 @@
 2012-02-09  Lars Ingebrigtsen  <larsi@gnus.org>
 
+       * nnimap.el (nnimap-wait-for-response): Minor fixup of message string.
+
        * gnus.el (gnus-server-extend-method): Don't add an -address component
        if the method already has one (bug#9676).
 
index 4c75f721ff6f31218402c85e1df5658b44429608..de4d248c624bed5e5d585f26088c565253c8c853 100644 (file)
@@ -1754,8 +1754,11 @@ textual parts.")
               7 "nnimap read %dk from %s%s" (/ (buffer-size) 1000)
               nnimap-address
               (if (not (zerop (nnimap-initial-resync nnimap-object)))
-                  (format " (initial sync of %d groups; please wait)"
-                          (nnimap-initial-resync nnimap-object))
+                  (format " (initial sync of %d group%s; please wait)"
+                          (nnimap-initial-resync nnimap-object)
+                          (if (= (nnimap-initial-resync nnimap-object) 1)
+                              ""
+                            "s"))
                 "")))
            (nnheader-accept-process-output process)
            (goto-char (point-max)))