[gnus git] branch master updated: =1= If we don't find a match, don't bug out on non-bound variables.

Lars Ingebrigtsen <[email protected]>
Newsgroups gmane.emacs.gnus.cvs
Message-ID <[email protected]>
       via  e5ad86dea7f6657896a5f3a75f578bb5668244fd (commit)
      from  d24fb92a0425e0ce070443bfeaa4b23144b83edf (commit)


- Log -----------------------------------------------------------------
commit e5ad86dea7f6657896a5f3a75f578bb5668244fd
Author: Lars Ingebrigtsen <[email protected]>
Date:   Fri Feb 18 14:07:53 2011 -0800

    If we don't find a match, don't bug out on non-bound variables.

diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 49764d1..67faeac 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -2,6 +2,8 @@
 
 	* auth-source.el (auth-source-search): Don't try to create credentials
 	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.
 
 	* 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 6e6f962..64d244b 100644
--- a/lisp/auth-source.el
+++ b/lisp/auth-source.el
@@ -554,6 +554,7 @@ must call it to obtain the actual value."
       ;; create the entries.
       (when (and create
 		 (not matches))
+	(dolist (backend filtered-backends)
 	(let ((match (apply
 		      (slot-value backend 'search-function)
 		      :backend backend
@@ -561,7 +562,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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.