[gnus git] branch master updated: n0-17-489-g3364f2b =1= Fix problem with nnimap on Emacs 23.

Lars Ingebrigtsen <[email protected]>
Newsgroups gmane.emacs.gnus.cvs
Message-ID <[email protected]>
       via  3364f2ba4a2e156d63de014cc6d196dc92cddd7e (commit)
      from  69265654776cd3738df7b9e5692d0735fa11e589 (commit)


- Log -----------------------------------------------------------------
commit 3364f2ba4a2e156d63de014cc6d196dc92cddd7e
Author: Lars Ingebrigtsen <[email protected]>
Date:   Fri Jan 27 17:05:22 2012 +0100

    Fix problem with nnimap on Emacs 23.
    
    * proto-stream.el (proto-stream-capability-open): Fall back on
    :end-of-command if :end-of-capability doesn't exist.

diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 2e7e555..5051a6f 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
+2012-01-27  Lars Ingebrigtsen  <[email protected]>
+
+	* proto-stream.el (proto-stream-capability-open): Fall back on
+	:end-of-command if :end-of-capability doesn't exist.
+
 2012-01-26  Katsumi Yamaoka  <[email protected]>
 
 	* gnus-sum.el (gnus-summary-mode): Don't make bidi-paragraph-direction
diff --git a/lisp/proto-stream.el b/lisp/proto-stream.el
index 3f1d45d..0d2bc5c 100644
--- a/lisp/proto-stream.el
+++ b/lisp/proto-stream.el
@@ -280,8 +280,11 @@ PARAMETERS should be a sequence of keywords and values:
 		    (plist-get parameters :end-of-command))))
     (list stream greeting
 	  (and capability-command
-	       (proto-stream-command stream capability-command
-				     (plist-get parameters :end-of-capability)))
+	       (proto-stream-command
+		stream capability-command
+		(or
+		 (plist-get parameters :end-of-capability)
+		 (plist-get parameters :end-of-command))))
 	  stream-type)))
 
 (provide 'proto-stream)

-----------------------------------------------------------------------
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       |    5 +++++
 lisp/proto-stream.el |    7 +++++--
 2 files changed, 10 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.