[gnus git] branch master updated: n0-17-310-g94946a4 =1= auth-source: typo fixes
Julien Danjou <[email protected]>
| Newsgroups | gmane.emacs.gnus.cvs |
|---|---|
| Message-ID | <[email protected]> |
via 94946a475f811199022b55efe3ba26302c17b1a4 (commit)
from cc9b4a9373fc9b15ea2fce98a9733d101ee6883d (commit)
- Log -----------------------------------------------------------------
commit 94946a475f811199022b55efe3ba26302c17b1a4
Author: Julien Danjou <[email protected]>
Date: Tue Sep 20 18:05:05 2011 +0200
auth-source: typo fixes
Signed-off-by: Julien Danjou <[email protected]>
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 80016ed..c1a7adf 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -5,6 +5,8 @@
(auth-source-plstore-create): Ditto.
(auth-source-plstore-create, auth-source-netrc-create): Fix default
value evaluation.
+ (auth-source-netrc-create): Typo fix.
+ (auth-source-plstore-create): Ditto.
* password-cache.el (password-cache-remove): Remove entries even if the
value is nil, so that password with a nil value (negative caching) is
diff --git a/lisp/auth-source.el b/lisp/auth-source.el
index c7daed8..154d507 100644
--- a/lisp/auth-source.el
+++ b/lisp/auth-source.el
@@ -1256,7 +1256,7 @@ See `auth-source-search' for details on SPEC."
(setq ret (cdr item))
(setq check nil)))))
(t 'never)))
- (plain (or (eval default) read-passwd prompt)))
+ (plain (or (eval default) (read-passwd prompt))))
;; ask if we don't know what to do (in which case
;; auth-source-netrc-use-gpg-tokens must be a list)
(unless gpg-encrypt
@@ -1681,7 +1681,7 @@ authentication tokens:
(setq data (or data
(if (eq r 'secret)
(or (eval default) (read-passwd prompt))
- (if stringp default
+ (if (stringp default)
(read-string (if (string-match ": *\\'" prompt)
(concat (substring prompt 0 (match-beginning 0))
" (default " default "): ")
-----------------------------------------------------------------------
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 | 14 +++++++-------
2 files changed, 9 insertions(+), 7 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