aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/auth-source.el6
-rw-r--r--lisp/mail/rmail.el4
2 files changed, 6 insertions, 4 deletions
diff --git a/lisp/auth-source.el b/lisp/auth-source.el
index 2de78c5ae55..9ec9ede80e0 100644
--- a/lisp/auth-source.el
+++ b/lisp/auth-source.el
@@ -869,9 +869,9 @@ while \(:host t) would find all host entries."
869(defun auth-info-password (auth-info) 869(defun auth-info-password (auth-info)
870 "Return the :secret password from the AUTH-INFO." 870 "Return the :secret password from the AUTH-INFO."
871 (let ((secret (plist-get auth-info :secret))) 871 (let ((secret (plist-get auth-info :secret)))
872 (if (functionp secret) 872 (while (functionp secret)
873 (funcall secret) 873 (setq secret (funcall secret)))
874 secret))) 874 secret))
875 875
876(defun auth-source-pick-first-password (&rest spec) 876(defun auth-source-pick-first-password (&rest spec)
877 "Pick the first secret found by applying `auth-source-search' to SPEC." 877 "Pick the first secret found by applying `auth-source-search' to SPEC."
diff --git a/lisp/mail/rmail.el b/lisp/mail/rmail.el
index d422383acdf..2b119c7a5c7 100644
--- a/lisp/mail/rmail.el
+++ b/lisp/mail/rmail.el
@@ -462,7 +462,9 @@ as argument, to ask the user that question."
462 "List of functions to call when Rmail is invoked.") 462 "List of functions to call when Rmail is invoked.")
463 463
464(defvar rmail-get-new-mail-hook nil 464(defvar rmail-get-new-mail-hook nil
465 "List of functions to call when Rmail has retrieved new mail.") 465 "List of functions to call when Rmail has retrieved new mail.
466The functions are called in `rmail-buffer' narrowed to include
467only the new email messages, with point at the first new mail.")
466 468
467;;;###autoload 469;;;###autoload
468(defcustom rmail-show-message-hook nil 470(defcustom rmail-show-message-hook nil