1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-03 08:30:09 +00:00

* frames.texi (Pop-Up Menus): Minor clarification for x-popup-menu.

Fixes: debbugs:11148
This commit is contained in:
Chong Yidong 2012-09-22 11:29:37 +08:00
parent 82f8cd940f
commit 471333800d
2 changed files with 10 additions and 4 deletions

View File

@ -1,3 +1,7 @@
2012-09-22 Chong Yidong <cyd@gnu.org>
* frames.texi (Pop-Up Menus): Minor clarification (Bug#11148).
2012-09-21 Glenn Morris <rgm@gnu.org>
* debugging.texi (Using Debugger): Fix typo.

View File

@ -1773,10 +1773,12 @@ where each pane is a list of form
(@var{title} @var{item1} @var{item2}...)
@end example
Each item should normally be a cons cell @code{(@var{line} . @var{value})},
where @var{line} is a string, and @var{value} is the value to return if
that @var{line} is chosen. An item can also be a string; this makes a
non-selectable line in the menu.
Each @var{item} should be a cons cell, @code{(@var{line} . @var{value})},
where @var{line} is a string and @var{value} is the value to return if
that @var{line} is chosen. Unlike in a menu keymap, a @code{nil}
@var{value} does not make the menu item non-selectable.
Alternatively, each @var{item} can be a string rather than a cons
cell; this makes a non-selectable menu item.
If the user gets rid of the menu without making a valid choice, for
instance by clicking the mouse away from a valid choice or by typing