# HG changeset patch # User Chong Yidong # Date 1259694101 0 # Node ID 8acd940e483a9d77d210defe41e9a009883780e5 # Parent 93e5b91384822f89abdcd1857093dd54d921a162 * message.el: Revert last change. diff -r 93e5b9138482 -r 8acd940e483a lisp/gnus/ChangeLog --- a/lisp/gnus/ChangeLog Tue Dec 01 18:06:06 2009 +0000 +++ b/lisp/gnus/ChangeLog Tue Dec 01 19:01:41 2009 +0000 @@ -1,8 +1,3 @@ -2009-12-01 Chong Yidong - - * message.el (message-setup-hook, message-send-hook): Make into aliases - for mail-*-hook. - 2009-11-29 Juri Linkov * gnus-sum.el (gnus-recenter): Use `recenter-top-bottom' diff -r 93e5b9138482 -r 8acd940e483a lisp/gnus/message.el --- a/lisp/gnus/message.el Tue Dec 01 18:06:06 2009 +0000 +++ b/lisp/gnus/message.el Tue Dec 01 19:01:41 2009 +0000 @@ -918,14 +918,12 @@ :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) - -(defvaralias 'message-setup-hook 'mail-setup-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) (defcustom message-cancel-hook nil "Hook run when cancelling articles." @@ -1567,15 +1565,13 @@ "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) - -(defvaralias 'message-send-hook 'mail-send-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) (defcustom message-send-mail-hook nil "Hook run before sending mail messages.