[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master b0aa059 1/2: nnimap.el: Explicitly ask for server c
From: |
Katsumi Yamaoka |
Subject: |
[Emacs-diffs] master b0aa059 1/2: nnimap.el: Explicitly ask for server capabilities |
Date: |
Sun, 02 Aug 2015 22:34:00 +0000 |
branch: master
commit b0aa05907fe9ecd31601fcacb2aad5fd065e2595
Author: Nikolaus Rath <address@hidden>
Commit: Katsumi Yamaoka <address@hidden>
nnimap.el: Explicitly ask for server capabilities
* lisp/gnus/nnimap.el (nnimap-open-connection-1): Don't assume full
capabilities will be returned in the login-result.
---
lisp/gnus/nnimap.el | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/lisp/gnus/nnimap.el b/lisp/gnus/nnimap.el
index 161a6b4..594d1f5 100644
--- a/lisp/gnus/nnimap.el
+++ b/lisp/gnus/nnimap.el
@@ -490,7 +490,7 @@ textual parts.")
(funcall (nth 2 credentials)))
;; See if CAPABILITY is set as part of login
;; response.
- (dolist (response (cddr login-result))
+ (dolist (response (cddr (nnimap-command "CAPABILITY")))
(when (string= "CAPABILITY" (upcase (car response)))
(setf (nnimap-capabilities nnimap-object)
(mapcar #'upcase (cdr response))))))