nnimap group request bug fix
authorLars Magne Ingebrigtsen <larsi@gnus.org>
Wed, 28 Jan 2015 05:11:54 +0000 (16:11 +1100)
committerLars Magne Ingebrigtsen <larsi@gnus.org>
Wed, 28 Jan 2015 05:12:39 +0000 (16:12 +1100)
* lisp/nnimap.el (nnimap-request-group): Clear the buffer before returning
the data.

lisp/ChangeLog
lisp/nnimap.el

index 706b172..52177b7 100644 (file)
@@ -1,3 +1,8 @@
+2015-01-28  Lars Ingebrigtsen  <larsi@gnus.org>
+
+       * nnimap.el (nnimap-request-group): Clear the buffer before returning
+       the data.
+
 2015-01-27  Katsumi Yamaoka  <yamaoka@jpl.org>
 
        * gnus-compat.el (string-bytes): Work for XEmacs.
index 8e81abc..205f92c 100644 (file)
@@ -812,6 +812,7 @@ textual parts.")
            (nnimap-finish-retrieve-group-infos server (list info) sequences
                                                t)
            (setq active (nth 2 (assoc group nnimap-current-infos)))))
+       (erase-buffer)
        (insert (format "211 %d %d %d %S\n"
                        (- (cdr active) (car active))
                        (car active)