From: Julien Danjou Date: Sat, 28 Jul 2012 11:38:47 +0000 (+0000) Subject: message.el: defalias mail-dont-reply-to if needed X-Git-Tag: emacs-24.2.90~1042 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=69c3b839f881e2cd3d9b8c8cc78a4a25a4f7399c;p=emacs.git message.el: defalias mail-dont-reply-to if needed --- diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index 80ede10c8c4..0476fc043c2 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog @@ -1,3 +1,8 @@ +2012-07-27 Julien Danjou + + * message.el (fboundp): Add a defalias on `mail-dont-reply-to' for + Emacs < 24.1 + 2012-07-27 Katsumi Yamaoka * message.el (message-kill-address): Don't kill last newline. diff --git a/lisp/gnus/message.el b/lisp/gnus/message.el index e56a6c6d078..939d56bbfd8 100644 --- a/lisp/gnus/message.el +++ b/lisp/gnus/message.el @@ -1933,10 +1933,13 @@ You must have the \"hashcash\" binary installed, see `hashcash-path'." (autoload 'nndraft-request-associate-buffer "nndraft") (autoload 'nndraft-request-expire-articles "nndraft") (autoload 'nnvirtual-find-group-art "nnvirtual") -(autoload 'mail-dont-reply-to "mail-utils") (autoload 'rmail-msg-is-pruned "rmail") (autoload 'rmail-output "rmailout") +;; Emacs < 24.1 do not have mail-dont-reply-to +(unless (fboundp 'mail-dont-reply-to) + (defalias 'mail-dont-reply-to 'rmail-dont-reply-to)) + ;;;