changeset 93451:06240ef0da8e

(mml2015-use): Declare for compiler. (message-info): Require mml2015 when appropriate.
author Glenn Morris <rgm@gnu.org>
date Mon, 31 Mar 2008 07:18:46 +0000
parents 965ede514c5a
children 3a405950a311
files lisp/gnus/message.el
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/gnus/message.el	Mon Mar 31 07:11:00 2008 +0000
+++ b/lisp/gnus/message.el	Mon Mar 31 07:18:46 2008 +0000
@@ -2489,6 +2489,7 @@
 
 
 (autoload 'Info-goto-node "info")
+(defvar mml2015-use)
 
 (defun message-info (&optional arg)
   "Display the Message manual.
@@ -2497,8 +2498,11 @@
 manual.  With two \\[universal-argument]'s, display the EasyPG or
 PGG manual, depending on the value of `mml2015-use'."
   (interactive "p")
+  ;; Why not `info', which is in loaddefs.el?
   (Info-goto-node (format "(%s)Top"
-			  (cond ((eq arg 16) mml2015-use)
+			  (cond ((eq arg 16)
+				 (require 'mml2015)
+				 mml2015-use)
 				((eq arg  4) 'emacs-mime)
 				;; `booleanp' only available in Emacs 22+
 				((and (not (memq arg '(nil t)))