summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lisp/gnus/ChangeLog2
-rw-r--r--lisp/gnus/nnimap.el7
2 files changed, 7 insertions, 2 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog
index 9cd6879988b..6ce85227e0b 100644
--- a/lisp/gnus/ChangeLog
+++ b/lisp/gnus/ChangeLog
@@ -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).
diff --git a/lisp/gnus/nnimap.el b/lisp/gnus/nnimap.el
index 4c75f721ff6..de4d248c624 100644
--- a/lisp/gnus/nnimap.el
+++ b/lisp/gnus/nnimap.el
@@ -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)))