[gnus git] branch master updated: m0-5-67-gf7715b1 =1= message: defalias mail-dont-reply-to if needed

Julien Danjou <[email protected]>
Newsgroups gmane.emacs.gnus.cvs
Message-ID <[email protected]>
       via  f7715b17774afabbadc92f15b1ee087624e587a8 (commit)
      from  436a2a323a1172fb33d3336417009cadcd90661b (commit)


- Log -----------------------------------------------------------------
commit f7715b17774afabbadc92f15b1ee087624e587a8
Author: Julien Danjou <[email protected]>
Date:   Fri Jul 27 17:16:55 2012 +0200

    message: defalias mail-dont-reply-to if needed
    
    Signed-off-by: Julien Danjou <[email protected]>

diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 0c56ffc..dfb0fcb 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
+2012-07-27  Julien Danjou  <[email protected]>
+
+	* message.el (fboundp): Add a defalias on `mail-dont-reply-to' for
+	Emacs < 24.1
+
 2012-07-27  Katsumi Yamaoka  <[email protected]>
 
 	* message.el (message-kill-address): Don't kill last newline.
diff --git a/lisp/message.el b/lisp/message.el
index ce4c718..1e4774b 100644
--- a/lisp/message.el
+++ b/lisp/message.el
@@ -1977,10 +1977,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))
+
 
 
 ;;;

-----------------------------------------------------------------------
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we listed those
revisions in full, above.

Summary of changes:
 lisp/ChangeLog  |    5 +++++
 lisp/message.el |    5 ++++-
 2 files changed, 9 insertions(+), 1 deletions(-)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Gnus Project".

The branch, master has been updated


hooks/post-receive
-- 
Gnus Project
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.