changeset 91976:59b1ca0ea158

(help-mode-menu): New menu.
author Dan Nicolaescu <dann@ics.uci.edu>
date Wed, 20 Feb 2008 06:37:53 +0000
parents 2d2d364dac0e
children 3e19c552591b
files lisp/ChangeLog lisp/help-mode.el
diffstat 2 files changed, 18 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Wed Feb 20 06:00:13 2008 +0000
+++ b/lisp/ChangeLog	Wed Feb 20 06:37:53 2008 +0000
@@ -1,3 +1,7 @@
+2008-02-20  Dan Nicolaescu  <dann@ics.uci.edu>
+
+	* help-mode.el (help-mode-menu): New menu.
+
 2008-02-20  Glenn Morris  <rgm@gnu.org>
 
 	* mail/rmail.el (rmail-autodetect): Add .exe extension to movemail
--- a/lisp/help-mode.el	Wed Feb 20 06:00:13 2008 +0000
+++ b/lisp/help-mode.el	Wed Feb 20 06:37:53 2008 +0000
@@ -45,6 +45,20 @@
 ;; Documentation only, since we use minor-mode-overriding-map-alist.
 (define-key help-mode-map "\r" 'help-follow)
 
+(easy-menu-define help-mode-menu help-mode-map
+  "Menu for Help Mode."
+  '("Help-Mode"
+    ["Show Help for Symbol" help-follow-symbol
+     :help "Show the docs for the symbol at point"]
+    ["Previous Topic" help-go-back
+     :help "Go back to previous topic in this help buffer"]
+    ["Next Topic" help-go-forward
+     :help "Go back to next topic in this help buffer"]
+    ["Move to Previous Button" backward-button
+     :help "Move to the Next Button in the help buffer"]
+    ["Move to Next Button" forward-button
+      :help "Move to the Next Button in the help buffer"]))
+
 (defvar help-xref-stack nil
   "A stack of ways by which to return to help buffers after following xrefs.
 Used by `help-follow' and `help-xref-go-back'.