diff options
| author | Glenn Morris | 2008-03-31 07:18:59 +0000 |
|---|---|---|
| committer | Glenn Morris | 2008-03-31 07:18:59 +0000 |
| commit | a0e0846723c8b0b75688fcb309f80dd640afa1b8 (patch) | |
| tree | 7d05007ceb863fa523d44162d73c4a100ff9b9bf | |
| parent | f6c762dde18999e3ddd5bb7dfbc724aa9687715d (diff) | |
| download | emacs-a0e0846723c8b0b75688fcb309f80dd640afa1b8.tar.gz emacs-a0e0846723c8b0b75688fcb309f80dd640afa1b8.zip | |
(mml2015-use): Declare for compiler.
(message-info): Require mml2015 when appropriate.
| -rw-r--r-- | lisp/gnus/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/gnus/message.el | 6 |
2 files changed, 10 insertions, 1 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index 0151f681e29..5ffbcb2d1b7 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2008-03-31 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * message.el (mml2015-use): Declare for compiler. | ||
| 4 | (message-info): Require mml2015 when appropriate. | ||
| 5 | |||
| 1 | 2008-03-30 Stefan Monnier <monnier@iro.umontreal.ca> | 6 | 2008-03-30 Stefan Monnier <monnier@iro.umontreal.ca> |
| 2 | 7 | ||
| 3 | * nntp.el (nntp-netcat-command): Rename from nntp-via-netcat-command. | 8 | * nntp.el (nntp-netcat-command): Rename from nntp-via-netcat-command. |
diff --git a/lisp/gnus/message.el b/lisp/gnus/message.el index 1ce7e461839..117ac00e5ba 100644 --- a/lisp/gnus/message.el +++ b/lisp/gnus/message.el | |||
| @@ -2489,6 +2489,7 @@ Point is left at the beginning of the narrowed-to region." | |||
| 2489 | 2489 | ||
| 2490 | 2490 | ||
| 2491 | (autoload 'Info-goto-node "info") | 2491 | (autoload 'Info-goto-node "info") |
| 2492 | (defvar mml2015-use) | ||
| 2492 | 2493 | ||
| 2493 | (defun message-info (&optional arg) | 2494 | (defun message-info (&optional arg) |
| 2494 | "Display the Message manual. | 2495 | "Display the Message manual. |
| @@ -2497,8 +2498,11 @@ Prefixed with one \\[universal-argument], display the Emacs MIME | |||
| 2497 | manual. With two \\[universal-argument]'s, display the EasyPG or | 2498 | manual. With two \\[universal-argument]'s, display the EasyPG or |
| 2498 | PGG manual, depending on the value of `mml2015-use'." | 2499 | PGG manual, depending on the value of `mml2015-use'." |
| 2499 | (interactive "p") | 2500 | (interactive "p") |
| 2501 | ;; Why not `info', which is in loaddefs.el? | ||
| 2500 | (Info-goto-node (format "(%s)Top" | 2502 | (Info-goto-node (format "(%s)Top" |
| 2501 | (cond ((eq arg 16) mml2015-use) | 2503 | (cond ((eq arg 16) |
| 2504 | (require 'mml2015) | ||
| 2505 | mml2015-use) | ||
| 2502 | ((eq arg 4) 'emacs-mime) | 2506 | ((eq arg 4) 'emacs-mime) |
| 2503 | ;; `booleanp' only available in Emacs 22+ | 2507 | ;; `booleanp' only available in Emacs 22+ |
| 2504 | ((and (not (memq arg '(nil t))) | 2508 | ((and (not (memq arg '(nil t))) |