aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Albinus2010-06-15 22:13:34 +0200
committerMichael Albinus2010-06-15 22:13:34 +0200
commit85350e06b0c0de0e774ce6e4e7713b309938f248 (patch)
tree1525e3a40505b7bea7a59d1c3e9e2366d3a5a97d
parent8fd02581c8d7d4e6a14aa666304308f41940dba4 (diff)
downloademacs-85350e06b0c0de0e774ce6e4e7713b309938f248.tar.gz
emacs-85350e06b0c0de0e774ce6e4e7713b309938f248.zip
* auth-source.el (auth-source-pick): If choice does not contain a
questioned keyword, set the check to t.
-rw-r--r--lisp/gnus/ChangeLog5
-rw-r--r--lisp/gnus/auth-source.el3
2 files changed, 7 insertions, 1 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog
index 78d3d234285..e50bdb58575 100644
--- a/lisp/gnus/ChangeLog
+++ b/lisp/gnus/ChangeLog
@@ -1,3 +1,8 @@
12010-06-15 Michael Albinus <michael.albinus@gmx.de>
2
3 * auth-source.el (auth-source-pick): If choice does not contain a
4 questioned keyword, set the check to t.
5
12010-06-12 Romain Francoise <romain@orebokech.com> 62010-06-12 Romain Francoise <romain@orebokech.com>
2 7
3 * gnus-util.el (gnus-date-get-time): Move up before first use. 8 * gnus-util.el (gnus-date-get-time): Move up before first use.
diff --git a/lisp/gnus/auth-source.el b/lisp/gnus/auth-source.el
index 89b2ef3d11d..e43f09e5ed1 100644
--- a/lisp/gnus/auth-source.el
+++ b/lisp/gnus/auth-source.el
@@ -229,7 +229,8 @@ matched as a regex."
229 ;; Check keywords. 229 ;; Check keywords.
230 (dolist (k keys match) 230 (dolist (k keys match)
231 (let* ((v (plist-get spec k)) 231 (let* ((v (plist-get spec k))
232 (choicev (plist-get choice k))) 232 (choicev (if (plist-member choice k)
233 (plist-get choice k) t)))
233 (setq match 234 (setq match
234 (and match 235 (and match
235 (or 236 (or