summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2009-03-14 21:04:43 +0000
committerGlenn Morris <rgm@gnu.org>2009-03-14 21:04:43 +0000
commitb769f3daadece9dd4e9b7f9f0f1d20b4bd9900e6 (patch)
tree56bf2bd9f6289e0402cd3e0eab681f4bf9baae77
parent15d0fd3a5ba4e9358f5d89363c78fe77daaa01e3 (diff)
downloademacs-b769f3daadece9dd4e9b7f9f0f1d20b4bd9900e6.tar.gz
(mail-mode-hook): Doc fix.
-rw-r--r--lisp/ChangeLog1
-rw-r--r--lisp/mail/sendmail.el4
2 files changed, 4 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index ffc894747bd..fe15ce23a1c 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -3,6 +3,7 @@
* mail/sendmail.el (mail-interactive): Doc fix.
(mail-yank-ignored-headers): Add X-RMAIL- headers, bump :version.
(mail-setup): Use the function mail-signature.
+ (mail-mode-hook): Doc fix.
(mail-to, mail-subject, mail-cc, mail-bcc, mail-reply-to)
(mail-mail-reply-to, mail-mail-followup-to): Doc fixes.
(mail-signature): Check the signature file is readable.
diff --git a/lisp/mail/sendmail.el b/lisp/mail/sendmail.el
index 7245a35f8f1..bbf42e16b1b 100644
--- a/lisp/mail/sendmail.el
+++ b/lisp/mail/sendmail.el
@@ -614,7 +614,9 @@ actually occur.")
(run-hooks 'mail-setup-hook))
(defcustom mail-mode-hook nil
- "Hook run by Mail mode."
+ "Hook run by Mail mode.
+When composing a mail, this runs immediately after creating, or
+switching to, the `*mail*' buffer. See also `mail-setup-hook'."
:group 'sendmail
:type 'hook
:options '(footnote-mode))