[gnus git] branch master updated: =1= XEmacs bugfix for plist-get.
Ted Zlatanov <[email protected]>
| Newsgroups | gmane.emacs.gnus.cvs |
|---|---|
| Message-ID | <[email protected]> |
via cf3ead3300a44aabfdbed5c101fc751c1205ee4c (commit)
from a913d03099e201791b5aa43717a784d92ad1df76 (commit)
- Log -----------------------------------------------------------------
commit cf3ead3300a44aabfdbed5c101fc751c1205ee4c
Author: Ted Zlatanov <[email protected]>
Date: Mon Feb 14 05:18:42 2011 -0600
XEmacs bugfix for plist-get.
* auth-source.el (auth-source-backend-parse-parameters): Don't rely on
`plist-get' to accept non-list parameters (XEmacs issue). Fix
docstring.
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 9d8efa2..310947c 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,9 @@
+2011-02-14 Teodor Zlatanov <[email protected]>
+
+ * auth-source.el (auth-source-backend-parse-parameters): Don't rely on
+ `plist-get' to accept non-list parameters (XEmacs issue). Fix
+ docstring.
+
2011-02-14 Lars Ingebrigtsen <[email protected]>
* nnimap.el (nnimap-inhibit-logging): New variable.
diff --git a/lisp/auth-source.el b/lisp/auth-source.el
index 8f4a6dd..be698ad 100644
--- a/lisp/auth-source.el
+++ b/lisp/auth-source.el
@@ -331,9 +331,11 @@ If the value is not a list, symmetric encryption will be used."
(defun auth-source-backend-parse-parameters (entry backend)
"Fills in the extra auth-source-backend parameters of ENTRY.
Using the plist ENTRY, get the :host, :protocol, and :user search
-parameters. Accepts :port as an alias to :protocol. Sets all
-the parameters to t if they are missing."
- (let (val)
+parameters. Accepts :port as an alias to :protocol."
+ (let ((entry (if (stringp entry)
+ nil
+ entry))
+ val)
(when (setq val (plist-get entry :host))
(oset backend host val))
(when (setq val (plist-get entry :user))
-----------------------------------------------------------------------
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 | 6 ++++++
lisp/auth-source.el | 8 +++++---
2 files changed, 11 insertions(+), 3 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