# HG changeset patch # User Vin Shelton # Date 1357145332 18000 # Node ID 8ca88199934925f0ca1887237ad282879d70b4c0 # Parent 5fd1b9a955314ad87ccbabea03405e081e5a8e88 Menu accelerator documentation patch diff -r 5fd1b9a95531 -r 8ca881999349 man/ChangeLog --- 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 + + * lispref/menus.texi (Creating Menu Accelerators): Clarify that + the menu accelerator must be lowercase. + 2012-12-28 Stephen J. Turnbull * xemacs/programs.texi (Defuns): Improve description of `mark-defun'. diff -r 5fd1b9a95531 -r 8ca881999349 man/lispref/menus.texi --- 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}.