2010-03-29 Teodor Zlatanov <tzz@lifelogs.com>

* auth-source.el (auth-source-pick): Fix for non-secrets specifier.
This commit is contained in:
Katsumi Yamaoka 2010-03-29 09:28:20 +00:00
parent bd3e840f41
commit afae6cd428
2 changed files with 5 additions and 1 deletions

View file

@ -214,7 +214,7 @@ checked for fallback choices."
(dolist (choice auth-sources)
(let* ((s (plist-get choice :source))
;; this is only set for Secret Service API specs (see secrets.el)
(coll (plist-get s :secrets))
(coll (and (consp s) (plist-get s :secrets)))
(score 0))
(cond
(coll ; use secrets.el here