summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/mail/rmail.el7
1 files changed, 5 insertions, 2 deletions
diff --git a/lisp/mail/rmail.el b/lisp/mail/rmail.el
index cb18a9053c4..1a32ef1a9da 100644
--- a/lisp/mail/rmail.el
+++ b/lisp/mail/rmail.el
@@ -236,8 +236,11 @@ and the value of the environment variable MAIL overrides it)."
"List of functions to call when Rmail has retrieved new mail.")
;;;###autoload
-(defvar rmail-show-message-hook nil
- "List of functions to call when Rmail displays a message.")
+(defcustom rmail-show-message-hook nil
+ "List of functions to call when Rmail displays a message."
+ :type 'hook
+ :options '(goto-addr)
+ :group 'rmail)
;;;###autoload
(defvar rmail-quit-hook nil