[gnus git] branch master updated: m0-5-214-g152b833 =1= Allow "password" as netrc passwords

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


- Log -----------------------------------------------------------------
commit 152b8331ec8e0d49c005b2b19bfacc77df882c46
Author: John Wiegley <[email protected]>
Date:   Tue Dec 25 18:31:47 2012 +0100

    Allow "password" as netrc passwords
    
    * auth-source.el (auth-source-netrc-parse): Allow using "password" as
    the password (bug#12097).

diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 885d118..cddb9dd 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
+2012-12-25  John Wiegley  <[email protected]>
+
+	* auth-source.el (auth-source-netrc-parse): Allow using "password" as
+	the password (bug#12097).
+
 2012-12-25  Lars Ingebrigtsen  <[email protected]>
 
 	* shr.el (shr-tag-a): Don't tagify <A> elements that don't have HREFs
diff --git a/lisp/auth-source.el b/lisp/auth-source.el
index ba02d2e..51ce696 100644
--- a/lisp/auth-source.el
+++ b/lisp/auth-source.el
@@ -1018,7 +1018,7 @@ Note that the MAX parameter is used so we can exit the parse early."
                     (while (and (zerop (forward-line 1))
                                 (looking-at "$")))
                     (narrow-to-region (point) (point)))
-                   ((member elem tokens)
+                   ((and (member elem tokens) (null pair))
                     ;; Tokens that don't have a following value are ignored,
                     ;; except "default".
                     (when (and pair (or (cdr pair)

-----------------------------------------------------------------------
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      |    5 +++++
 lisp/auth-source.el |    2 +-
 2 files changed, 6 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
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.