From 69c3b839f881e2cd3d9b8c8cc78a4a25a4f7399c Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Sat, 28 Jul 2012 11:38:47 +0000 Subject: [PATCH] message.el: defalias mail-dont-reply-to if needed --- lisp/gnus/ChangeLog | 5 +++++ lisp/gnus/message.el | 5 ++++- 2 files changed, 9 insertions(+), 1 deletion(-) 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)) + ;;; -- 2.39.2