diff options
author | Julien Danjou <jd@dex.adm.naquadah.org> | 2012-07-28 11:38:47 +0000 |
---|---|---|
committer | Katsumi Yamaoka <yamaoka@jpl.org> | 2012-07-28 11:38:47 +0000 |
commit | 69c3b839f881e2cd3d9b8c8cc78a4a25a4f7399c (patch) | |
tree | 1a33137ae3469cb78872f9d318802b29eb2d1545 /lisp | |
parent | 20329d736fea9768c118f09cf580ad82c40b62bd (diff) | |
download | emacs-69c3b839f881e2cd3d9b8c8cc78a4a25a4f7399c.tar.gz |
message.el: defalias mail-dont-reply-to if needed
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/gnus/ChangeLog | 5 | ||||
-rw-r--r-- | lisp/gnus/message.el | 5 |
2 files changed, 9 insertions, 1 deletions
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 <jd@dex.adm.naquadah.org> + + * message.el (fboundp): Add a defalias on `mail-dont-reply-to' for + Emacs < 24.1 + 2012-07-27 Katsumi Yamaoka <yamaoka@jpl.org> * 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)) + ;;; |