aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChong Yidong <[email protected]>2009-12-01 16:20:59 +0000
committerChong Yidong <[email protected]>2009-12-01 16:20:59 +0000
commit28f57f7e00dcf6ce1ab60f6389ab078719fe5fd3 (patch)
tree0b131086d22c90958d45aaf0cdf4d61c0da00b0b
parent964f5b2b790db5970b06826a0045c8e44e702d36 (diff)
* mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
* gnus/message.el (message-setup-hook, message-send-hook): Make into aliases for mail-*-hook.
-rw-r--r--lisp/ChangeLog4
-rw-r--r--lisp/gnus/ChangeLog5
-rw-r--r--lisp/gnus/message.el30
-rw-r--r--lisp/mail/sendmail.el5
4 files changed, 28 insertions, 16 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 81833622c7..7b6d96a142 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,7 @@
+2009-12-01 Chong Yidong <[email protected]>
+
+ * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
+
2009-12-01 Glenn Morris <[email protected]>
* Makefile.in (ELCFILES): Add mpc.elc.
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog
index ff3d7e3ce1..2c21288e39 100644
--- a/lisp/gnus/ChangeLog
+++ b/lisp/gnus/ChangeLog
@@ -1,3 +1,8 @@
+2009-12-01 Chong Yidong <[email protected]>
+
+ * message.el (message-setup-hook, message-send-hook): Make into aliases
+ for mail-*-hook.
+
2009-11-29 Juri Linkov <[email protected]>
* gnus-sum.el (gnus-recenter): Use `recenter-top-bottom'
diff --git a/lisp/gnus/message.el b/lisp/gnus/message.el
index 3f529047d2..7993aff87c 100644
--- a/lisp/gnus/message.el
+++ b/lisp/gnus/message.el
@@ -918,12 +918,14 @@ auto-fill in message buffers."
:type '(choice (const :tag "Don't turn on auto fill" nil)
(integer)))
-(defcustom message-setup-hook nil
- "Normal hook, run each time a new outgoing message is initialized.
-The function `message-setup' runs this hook."
- :group 'message-various
- :link '(custom-manual "(message)Various Message Variables")
- :type 'hook)
+;; (defcustom message-setup-hook nil
+;; "Normal hook, run each time a new outgoing message is initialized.
+;; The function `message-setup' runs this hook."
+;; :group 'message-various
+;; :link '(custom-manual "(message)Various Message Variables")
+;; :type 'hook)
+
+(defvaralias 'message-setup-hook 'mail-setup-hook)
(defcustom message-cancel-hook nil
"Hook run when cancelling articles."
@@ -1565,13 +1567,15 @@ starting with `not' and followed by regexps."
"Alist of mail and news faces for facemenu.
The cdr of each entry is a function for applying the face to a region.")
-(defcustom message-send-hook nil
- "Hook run before sending messages.
-This hook is run quite early when sending."
- :group 'message-various
- :options '(ispell-message)
- :link '(custom-manual "(message)Various Message Variables")
- :type 'hook)
+;; (defcustom message-send-hook nil
+;; "Hook run before sending messages.
+;; This hook is run quite early when sending."
+;; :group 'message-various
+;; :options '(ispell-message)
+;; :link '(custom-manual "(message)Various Message Variables")
+;; :type 'hook)
+
+(defvaralias 'message-send-hook 'mail-send-hook)
(defcustom message-send-mail-hook nil
"Hook run before sending mail messages.
diff --git a/lisp/mail/sendmail.el b/lisp/mail/sendmail.el
index 59cd70aa57..beba6be12f 100644
--- a/lisp/mail/sendmail.el
+++ b/lisp/mail/sendmail.el
@@ -221,8 +221,7 @@ This file need not actually exist."
;;;###autoload
(defcustom mail-setup-hook nil
- "Normal hook, run each time a new outgoing mail message is initialized.
-The function `mail-setup' runs this hook."
+ "Normal hook, run each time a new outgoing message is initialized."
:type 'hook
:options '(fortune-to-signature spook mail-abbrevs-setup)
:group 'sendmail)
@@ -816,7 +815,7 @@ Prefix arg means don't delete this window."
(switch-to-buffer newbuf))))))
(defcustom mail-send-hook nil
- "Hook run just before sending mail with `mail-send'."
+ "Hook run just before sending a message."
:type 'hook
:options '(flyspell-mode-off)
:group 'sendmail)