[gnus git] branch master updated: =1= (auth-source-search): Don't try to create credentials if the caller doesn't want that.
Lars Ingebrigtsen <[email protected]>
| Newsgroups | gmane.emacs.gnus.cvs |
|---|---|
| Message-ID | <[email protected]> |
via 8a16d10321644083c43621cfa178f673b0ca7142 (commit)
from 034742263e7ca5aed088d9b9dcfe4c456d6a26ea (commit)
- Log -----------------------------------------------------------------
commit 8a16d10321644083c43621cfa178f673b0ca7142
Author: Lars Ingebrigtsen <[email protected]>
Date: Thu Feb 17 16:45:49 2011 -0800
(auth-source-search): Don't try to create credentials if the caller doesn't want that.
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 147a757..49764d1 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,8 @@
2011-02-18 Lars Ingebrigtsen <[email protected]>
+ * auth-source.el (auth-source-search): Don't try to create credentials
+ if the caller doesn't want that.
+
* nnimap.el (nnimap-log-command): Add a newline to the inhibited
logging.
(nnimap-credentials): Protect against auth-source-search returning nil.
diff --git a/lisp/auth-source.el b/lisp/auth-source.el
index 239ebed..6e6f962 100644
--- a/lisp/auth-source.el
+++ b/lisp/auth-source.el
@@ -552,7 +552,8 @@ must call it to obtain the actual value."
(push (list backend match) matches)))))
;; If we didn't find anything, then we allow the backend(s) to
;; create the entries.
- (unless matches
+ (when (and create
+ (not matches))
(let ((match (apply
(slot-value backend 'search-function)
:backend backend
-----------------------------------------------------------------------
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 | 3 +++
lisp/auth-source.el | 3 ++-
2 files changed, 5 insertions(+), 1 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