aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarl Heuer1995-07-17 23:00:06 +0000
committerKarl Heuer1995-07-17 23:00:06 +0000
commit8b262cbcd53b15b1159e5df62f2a5525cdba5bc6 (patch)
tree387f31e8560b3a8e7346919f2336d191d5a871ad
parent6f9340dd3cf9880962a5edeafb763b7b8b8ef9d6 (diff)
downloademacs-8b262cbcd53b15b1159e5df62f2a5525cdba5bc6.tar.gz
emacs-8b262cbcd53b15b1159e5df62f2a5525cdba5bc6.zip
(mail-setup-hook): New defvar.
(mail): Doc fix.
-rw-r--r--lisp/mail/sendmail.el8
1 files changed, 6 insertions, 2 deletions
diff --git a/lisp/mail/sendmail.el b/lisp/mail/sendmail.el
index 437f3b8c2b4..5c33f370e93 100644
--- a/lisp/mail/sendmail.el
+++ b/lisp/mail/sendmail.el
@@ -88,6 +88,10 @@ This file typically should be in same format as the `.mailrc' file used by
88the `Mail' or `mailx' program. 88the `Mail' or `mailx' program.
89This file need not actually exist.") 89This file need not actually exist.")
90 90
91(defvar mail-setup-hook nil
92 "Normal hook, run each time a new outgoing mail message is initialized.
93The function `mail-setup' runs this hook.")
94
91(defvar mail-aliases t 95(defvar mail-aliases t
92 "Alist of mail address aliases, 96 "Alist of mail address aliases,
93or t meaning should be initialized from your mail aliases file. 97or t meaning should be initialized from your mail aliases file.
@@ -929,8 +933,8 @@ a Reply-to: field with that address is inserted.
929If `mail-archive-file-name' is non-nil, an FCC field with that file name 933If `mail-archive-file-name' is non-nil, an FCC field with that file name
930is inserted. 934is inserted.
931 935
932If `mail-setup-hook' is bound, its value is called with no arguments 936The normal hook `mail-setup-hook' is run after the message is
933after the message is initialized. It can add more default fields. 937initialized. It can add more default fields to the message.
934 938
935When calling from a program, the first argument if non-nil says 939When calling from a program, the first argument if non-nil says
936not to erase the existing contents of the `*mail*' buffer. 940not to erase the existing contents of the `*mail*' buffer.