Synch with Emacs trunk.
authorKatsumi Yamaoka <yamaoka@jpl.org>
Wed, 16 Jun 2010 00:09:53 +0000 (00:09 +0000)
committerKatsumi Yamaoka <yamaoka@jpl.org>
Wed, 16 Jun 2010 00:09:53 +0000 (00:09 +0000)
2010-06-15  Michael Albinus  <michael.albinus@gmx.de>
 * auth-source.el (auth-source-pick): If choice does not contain a
 questioned keyword, set the check to t.

lisp/ChangeLog
lisp/auth-source.el

index 8d3211f..21ef7a2 100644 (file)
@@ -1,3 +1,8 @@
+2010-06-15  Michael Albinus  <michael.albinus@gmx.de>
+
+       * auth-source.el (auth-source-pick): If choice does not contain a
+       questioned keyword, set the check to t.
+
 2010-06-12  Romain Francoise  <romain@orebokech.com>
 
        * gnus-util.el (gnus-date-get-time): Move up before first use.
index 89b2ef3..e43f09e 100644 (file)
@@ -229,7 +229,8 @@ matched as a regex."
             ;; Check keywords.
             (dolist (k keys match)
               (let* ((v (plist-get spec k))
-                     (choicev (plist-get choice k)))
+                     (choicev (if (plist-member choice k)
+                                  (plist-get choice k) t)))
                 (setq match
                       (and match
                            (or