changeset 5708:8ca881999349

Menu accelerator documentation patch
author Vin Shelton <acs@xemacs.org>
date Wed, 02 Jan 2013 11:48:52 -0500
parents 5fd1b9a95531
children 93d231ffa106
files man/ChangeLog man/lispref/menus.texi
diffstat 2 files changed, 13 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/man/ChangeLog	Fri Dec 28 23:11:32 2012 +0900
+++ b/man/ChangeLog	Wed Jan 02 11:48:52 2013 -0500
@@ -1,3 +1,8 @@
+2013-01-02  Vin Shelton  <acs@xemacs.org>
+
+	* lispref/menus.texi (Creating Menu Accelerators): Clarify that
+	the menu accelerator must be lowercase.
+
 2012-12-28  Stephen J. Turnbull  <stephen@xemacs.org>
 
 	* xemacs/programs.texi (Defuns): Improve description of `mark-defun'.
--- a/man/lispref/menus.texi	Fri Dec 28 23:11:32 2012 +0900
+++ b/man/lispref/menus.texi	Wed Jan 02 11:48:52 2013 -0500
@@ -635,18 +635,19 @@
 For example, the command
 
 @example
-(add-submenu nil '("%_Test"
+(add-submenu nil '("Te%_st"
                    ["One" (insert "1") :accelerator ?1 :active t]
                    ["%_Two" (insert "2")]
                    ["%_3" (insert "3")]))
 @end example
 
-will add a new menu to the top level menubar.  The new menu can be reached
-by pressing "t" while the top level menubar is active.  When the menu is
-active, pressing "1" will activate the first item and insert the character
-"1" into the buffer.  Pressing "T" will activate the second item and insert
-the character "2" into the buffer.  Pressing "3" will activate the third item
-and insert the character "3" into the buffer.
+will add a new menu to the top level menubar.  The new menu can be
+reached by pressing "s" while the top level menubar is active.  When
+the menu is active, pressing "1" will activate the first item and
+insert the character "1" into the buffer, pressing "t" will activate
+the second item and insert the character "2" into the buffer, and
+pressing "3" will activate the third item and insert the character "3"
+into the buffer.
 
 It is possible to activate the top level menubar itself using accelerator keys.
 @xref{Menu Accelerator Functions}.