[gnus git] branch master updated: m0-5-81-gc520807 =1= nnimap: restore to-buffer for now

Julien Danjou <[email protected]>
Newsgroups gmane.emacs.gnus.cvs
Message-ID <[email protected]>
       via  c5208073f6a99f33ead0bc8a24d457a8811c9c91 (commit)
      from  411b37cd34fdedd9925b257c494b9ff898be9035 (commit)


- Log -----------------------------------------------------------------
commit c5208073f6a99f33ead0bc8a24d457a8811c9c91
Author: Julien Danjou <[email protected]>
Date:   Mon Aug 6 13:30:55 2012 +0200

    nnimap: restore to-buffer for now
    
    Signed-off-by: Julien Danjou <[email protected]>

diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index a26b88e..065d477 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,8 @@
 2012-08-06  Julien Danjou  <[email protected]>
 
+	* nnimap.el (nnimap-request-head): Resture to-buffer parameter, used by
+	`nnimap-request-move-article'.
+
 	* gnus-demon.el (gnus-demon-add-handler, gnus-demon-remove-handler):
 	Remove autoload, already handled by gnus.el.
 
diff --git a/lisp/nnimap.el b/lisp/nnimap.el
index e195b42..ebd268e 100644
--- a/lisp/nnimap.el
+++ b/lisp/nnimap.el
@@ -597,7 +597,7 @@ textual parts.")
 		(nnheader-ms-strip-cr)))
 	    (cons group article)))))))
 
-(deffoo nnimap-request-head (article &optional group server)
+(deffoo nnimap-request-head (article &optional group server to-buffer)
   (when group
     (setq group (nnimap-decode-gnus-group group)))
   (when (nnimap-change-group group server)
@@ -610,7 +610,7 @@ textual parts.")
 	 article (format "UID FETCH %%d %s"
 			 (nnimap-header-parameters)))
 	(let ((buffer (current-buffer)))
-	  (with-current-buffer nntp-server-buffer
+	  (with-current-buffer (or to-buffer nntp-server-buffer)
 	    (erase-buffer)
 	    (insert-buffer-substring buffer)
 	    (nnheader-ms-strip-cr)

-----------------------------------------------------------------------
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we listed those
revisions in full, above.

Summary of changes:
 lisp/ChangeLog |    3 +++
 lisp/nnimap.el |    4 ++--
 2 files changed, 5 insertions(+), 2 deletions(-)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Gnus Project".

The branch, master has been updated


hooks/post-receive
-- 
Gnus Project
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.