summaryrefslogtreecommitdiff
path: root/lisp/gnus/gnus-util.el
diff options
context:
space:
mode:
authorK. Handa <handa@gnu.org>2015-09-02 18:28:54 +0900
committerK. Handa <handa@gnu.org>2015-09-02 18:28:54 +0900
commite7b62736aade24620c8ba6fa6bd467d017f16ee0 (patch)
treed00a2203437a168b2414c6b73afc00a88d90b4b1 /lisp/gnus/gnus-util.el
parentae08d073d7e2738580341534adc3c5924dc76860 (diff)
parent30866274e21c5f0a1c5f60cfe290743e7d482349 (diff)
downloademacs-e7b62736aade24620c8ba6fa6bd467d017f16ee0.tar.gz
Merge branch 'master' of git.sv.gnu.org:/srv/git/emacs
Diffstat (limited to 'lisp/gnus/gnus-util.el')
-rw-r--r--lisp/gnus/gnus-util.el8
1 files changed, 4 insertions, 4 deletions
diff --git a/lisp/gnus/gnus-util.el b/lisp/gnus/gnus-util.el
index 54cf099e078..215eac88aef 100644
--- a/lisp/gnus/gnus-util.el
+++ b/lisp/gnus/gnus-util.el
@@ -1974,10 +1974,10 @@ to case differences."
(string-equal (downcase str1) (downcase prefix))
(string-equal str1 prefix))))))
-(if (fboundp 'format-message)
- (defalias 'gnus-format-message 'format-message)
- ;; for Emacs < 25, and XEmacs, don't worry about quote translation.
- (defalias 'gnus-format-message 'format))
+(defalias 'gnus-format-message
+ (if (fboundp 'format-message) 'format-message
+ ;; for Emacs < 25, and XEmacs, don't worry about quote translation.
+ 'format))
;; Simple check: can be a macro but this way, although slow, it's really clear.
;; We don't use `bound-and-true-p' because it's not in XEmacs.