[gnus git] branch master updated: =1= (auth-source-search): Only ask a single backend to create the credentials.
Lars Ingebrigtsen <[email protected]>
| Newsgroups | gmane.emacs.gnus.cvs |
|---|---|
| Message-ID | <[email protected]> |
via 82f3e557de7ffb57fce527be64009239d084db77 (commit)
from e5ad86dea7f6657896a5f3a75f578bb5668244fd (commit)
- Log -----------------------------------------------------------------
commit 82f3e557de7ffb57fce527be64009239d084db77
Author: Lars Ingebrigtsen <[email protected]>
Date: Fri Feb 18 14:09:56 2011 -0800
(auth-source-search): Only ask a single backend to create the credentials.
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 67faeac..b7d4d00 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -4,6 +4,8 @@
if the caller doesn't want that.
(auth-source-search): If we don't find a match, don't bug out on
non-bound variables.
+ (auth-source-search): Only ask a single backend to create the
+ credentials.
* nnimap.el (nnimap-log-command): Add a newline to the inhibited
logging.
diff --git a/lisp/auth-source.el b/lisp/auth-source.el
index 64d244b..eede353 100644
--- a/lisp/auth-source.el
+++ b/lisp/auth-source.el
@@ -555,6 +555,7 @@ must call it to obtain the actual value."
(when (and create
(not matches))
(dolist (backend filtered-backends)
+ (unless matches
(let ((match (apply
(slot-value backend 'search-function)
:backend backend
@@ -562,7 +563,7 @@ must call it to obtain the actual value."
:delete delete
spec)))
(when match
- (push (list backend match) matches)))))
+ (push (list backend match) matches))))))
(setq backend (caar matches)
found-here (cadar matches))
-----------------------------------------------------------------------
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 | 2 ++
lisp/auth-source.el | 17 +++++++++--------
2 files changed, 11 insertions(+), 8 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