(mml-menu): Add Emacs MIME manual and PGG manual.
authorReiner Steib <Reiner.Steib@gmx.de>
Fri, 20 Jan 2006 20:17:03 +0000 (20:17 +0000)
committerReiner Steib <Reiner.Steib@gmx.de>
Fri, 20 Jan 2006 20:17:03 +0000 (20:17 +0000)
lisp/ChangeLog
lisp/mml.el

index 726c1eb..416f951 100644 (file)
@@ -1,6 +1,7 @@
 2006-01-20  Reiner Steib  <Reiner.Steib@gmx.de>
 
        * mml.el (mml-attach-file): Describe `description' in doc string.
+       (mml-menu): Add Emacs MIME manual and PGG manual.
 
 2005-12-12  Richard M. Stallman  <rms@gnu.org>
 
index 4c9f1f6..9e97e4a 100644 (file)
@@ -38,6 +38,7 @@
   (autoload 'gnus-make-local-hook "gnus-util")
   (autoload 'message-fetch-field "message")
   (autoload 'message-mark-active-p "message")
+  (autoload 'message-info "message")
   (autoload 'fill-flowed-encode "flow-fill")
   (autoload 'message-posting-charset "message"))
 
@@ -961,7 +962,14 @@ If HANDLES is non-nil, use it instead reparsing the buffer."
      ,@(if (featurep 'xemacs) nil
         '(:help "Quote MML tags in region"))]
     ["Validate MML" mml-validate t]
-    ["Preview" mml-preview t]))
+    ["Preview" mml-preview t]
+    "----"
+    ["Emacs MIME manual" (lambda () (interactive) (message-info 4))
+     ,@(if (featurep 'xemacs) '(t)
+        '(:help "Display the Emacs MIME manual"))]
+    ["PGG manual" (lambda () (interactive) (message-info 16))
+     ,@(if (featurep 'xemacs) '(t)
+        '(:help "Display the PGG manual"))]))
 
 (defvar mml-mode nil
   "Minor mode for editing MML.")