aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChong Yidong2009-12-01 16:20:59 +0000
committerChong Yidong2009-12-01 16:20:59 +0000
commit28f57f7e00dcf6ce1ab60f6389ab078719fe5fd3 (patch)
tree0b131086d22c90958d45aaf0cdf4d61c0da00b0b
parent964f5b2b790db5970b06826a0045c8e44e702d36 (diff)
downloademacs-28f57f7e00dcf6ce1ab60f6389ab078719fe5fd3.tar.gz
emacs-28f57f7e00dcf6ce1ab60f6389ab078719fe5fd3.zip
* 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 81833622c71..7b6d96a142d 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,7 @@
12009-12-01 Chong Yidong <cyd@stupidchicken.com>
2
3 * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
4
12009-12-01 Glenn Morris <rgm@gnu.org> 52009-12-01 Glenn Morris <rgm@gnu.org>
2 6
3 * Makefile.in (ELCFILES): Add mpc.elc. 7 * Makefile.in (ELCFILES): Add mpc.elc.
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog
index ff3d7e3ce13..2c21288e395 100644
--- a/lisp/gnus/ChangeLog
+++ b/lisp/gnus/ChangeLog
@@ -1,3 +1,8 @@
12009-12-01 Chong Yidong <cyd@stupidchicken.com>
2
3 * message.el (message-setup-hook, message-send-hook): Make into aliases
4 for mail-*-hook.
5
12009-11-29 Juri Linkov <juri@jurta.org> 62009-11-29 Juri Linkov <juri@jurta.org>
2 7
3 * gnus-sum.el (gnus-recenter): Use `recenter-top-bottom' 8 * gnus-sum.el (gnus-recenter): Use `recenter-top-bottom'
diff --git a/lisp/gnus/message.el b/lisp/gnus/message.el
index 3f529047d29..7993aff87cd 100644
--- a/lisp/gnus/message.el
+++ b/lisp/gnus/message.el
@@ -918,12 +918,14 @@ auto-fill in message buffers."
918 :type '(choice (const :tag "Don't turn on auto fill" nil) 918 :type '(choice (const :tag "Don't turn on auto fill" nil)
919 (integer))) 919 (integer)))
920 920
921(defcustom message-setup-hook nil 921;; (defcustom message-setup-hook nil
922 "Normal hook, run each time a new outgoing message is initialized. 922;; "Normal hook, run each time a new outgoing message is initialized.
923The function `message-setup' runs this hook." 923;; The function `message-setup' runs this hook."
924 :group 'message-various 924;; :group 'message-various
925 :link '(custom-manual "(message)Various Message Variables") 925;; :link '(custom-manual "(message)Various Message Variables")
926 :type 'hook) 926;; :type 'hook)
927
928(defvaralias 'message-setup-hook 'mail-setup-hook)
927 929
928(defcustom message-cancel-hook nil 930(defcustom message-cancel-hook nil
929 "Hook run when cancelling articles." 931 "Hook run when cancelling articles."
@@ -1565,13 +1567,15 @@ starting with `not' and followed by regexps."
1565 "Alist of mail and news faces for facemenu. 1567 "Alist of mail and news faces for facemenu.
1566The cdr of each entry is a function for applying the face to a region.") 1568The cdr of each entry is a function for applying the face to a region.")
1567 1569
1568(defcustom message-send-hook nil 1570;; (defcustom message-send-hook nil
1569 "Hook run before sending messages. 1571;; "Hook run before sending messages.
1570This hook is run quite early when sending." 1572;; This hook is run quite early when sending."
1571 :group 'message-various 1573;; :group 'message-various
1572 :options '(ispell-message) 1574;; :options '(ispell-message)
1573 :link '(custom-manual "(message)Various Message Variables") 1575;; :link '(custom-manual "(message)Various Message Variables")
1574 :type 'hook) 1576;; :type 'hook)
1577
1578(defvaralias 'message-send-hook 'mail-send-hook)
1575 1579
1576(defcustom message-send-mail-hook nil 1580(defcustom message-send-mail-hook nil
1577 "Hook run before sending mail messages. 1581 "Hook run before sending mail messages.
diff --git a/lisp/mail/sendmail.el b/lisp/mail/sendmail.el
index 59cd70aa578..beba6be12fe 100644
--- a/lisp/mail/sendmail.el
+++ b/lisp/mail/sendmail.el
@@ -221,8 +221,7 @@ This file need not actually exist."
221 221
222;;;###autoload 222;;;###autoload
223(defcustom mail-setup-hook nil 223(defcustom mail-setup-hook nil
224 "Normal hook, run each time a new outgoing mail message is initialized. 224 "Normal hook, run each time a new outgoing message is initialized."
225The function `mail-setup' runs this hook."
226 :type 'hook 225 :type 'hook
227 :options '(fortune-to-signature spook mail-abbrevs-setup) 226 :options '(fortune-to-signature spook mail-abbrevs-setup)
228 :group 'sendmail) 227 :group 'sendmail)
@@ -816,7 +815,7 @@ Prefix arg means don't delete this window."
816 (switch-to-buffer newbuf)))))) 815 (switch-to-buffer newbuf))))))
817 816
818(defcustom mail-send-hook nil 817(defcustom mail-send-hook nil
819 "Hook run just before sending mail with `mail-send'." 818 "Hook run just before sending a message."
820 :type 'hook 819 :type 'hook
821 :options '(flyspell-mode-off) 820 :options '(flyspell-mode-off)
822 :group 'sendmail) 821 :group 'sendmail)