(nnimap-split-articles): Narrow the right buffer to
authorKai Grossjohann <kgrossjo@eu.uu.net>
Fri, 13 Jun 2003 21:28:45 +0000 (21:28 +0000)
committerKai Grossjohann <kgrossjo@eu.uu.net>
Fri, 13 Jun 2003 21:28:45 +0000 (21:28 +0000)
the headers.  From Niklas Morberg <niklas.morberg@axis.com>.

lisp/ChangeLog
lisp/nnimap.el

index 1914599..ee4269a 100644 (file)
@@ -1,3 +1,8 @@
+2003-06-13  Kai Gro\e,A_\e(Bjohann  <kai.grossjohann@gmx.net>
+
+       * nnimap.el (nnimap-split-articles): Narrow the right buffer to
+       the headers.  From Niklas Morberg <niklas.morberg@axis.com>.
+
 2003-06-12  Dave Love  <fx@gnu.org>
 
        * nnheader.el (nnheader-functionp): Deleted.
index 31a7837..4d42574 100644 (file)
@@ -1271,7 +1271,7 @@ function is generally only called when Gnus is shutting down."
                            nnimap-split-download-body-default
                          nnimap-split-download-body)
                        (and (nnimap-request-article article)
-                            (mail-narrow-to-head))
+                            (with-current-buffer nntp-server-buffer (mail-narrow-to-head)))
                      (nnimap-request-head article))
                ;; copy article to right group(s)
                (setq removeorig nil)