2015-08-25 Paul Eggert <eggert@cs.ucla.edu>
+ * gnus-util.el (gnus-format-message):
+ Fix typo when running in older Emacs.
+
Prefer directed to neutral quotes in docstings and diagnostics.
In docstrings, escape apostrophes that would otherwise be translated
to curved quotes using the newer, simpler rules.
(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))
+
;; 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.
(defun gnus-bound-and-true-p (sym)