[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/trunk r103271: auth-source.el (auth-source-
From: |
Katsumi Yamaoka |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/trunk r103271: auth-source.el (auth-source-backend-parse-parameters): Don't rely on `plist-get' to accept non-list parameters (XEmacs issue). Fix docstring. |
Date: |
Mon, 14 Feb 2011 12:24:43 +0000 |
User-agent: |
Bazaar (2.0.3) |
------------------------------------------------------------
revno: 103271
author: Teodor Zlatanov <address@hidden>
committer: Katsumi Yamaoka <address@hidden>
branch nick: trunk
timestamp: Mon 2011-02-14 12:24:43 +0000
message:
auth-source.el (auth-source-backend-parse-parameters): Don't rely on
`plist-get' to accept non-list parameters (XEmacs issue). Fix docstring.
modified:
lisp/gnus/ChangeLog
lisp/gnus/auth-source.el
=== modified file 'lisp/gnus/ChangeLog'
--- a/lisp/gnus/ChangeLog 2011-02-14 04:23:59 +0000
+++ b/lisp/gnus/ChangeLog 2011-02-14 12:24:43 +0000
@@ -1,3 +1,9 @@
+2011-02-14 Teodor Zlatanov <address@hidden>
+
+ * 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 <address@hidden>
* nnimap.el (nnimap-inhibit-logging): New variable.
=== modified file 'lisp/gnus/auth-source.el'
--- a/lisp/gnus/auth-source.el 2011-02-14 04:23:59 +0000
+++ b/lisp/gnus/auth-source.el 2011-02-14 12:24:43 +0000
@@ -331,9 +331,11 @@
(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))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/trunk r103271: auth-source.el (auth-source-backend-parse-parameters): Don't rely on `plist-get' to accept non-list parameters (XEmacs issue). Fix docstring.,
Katsumi Yamaoka <=