aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChong Yidong2012-09-22 11:29:37 +0800
committerChong Yidong2012-09-22 11:29:37 +0800
commit471333800df6aefbdc4044a39b1808c1d01404d5 (patch)
tree5ced7c715fedd8f1dd80bf8591c5a1cd2b50281f
parent82f8cd940f097af95cb1100f7f38a1f08778cb1d (diff)
downloademacs-471333800df6aefbdc4044a39b1808c1d01404d5.tar.gz
emacs-471333800df6aefbdc4044a39b1808c1d01404d5.zip
* frames.texi (Pop-Up Menus): Minor clarification for x-popup-menu.
Fixes: debbugs:11148
-rw-r--r--doc/lispref/ChangeLog4
-rw-r--r--doc/lispref/frames.texi10
2 files changed, 10 insertions, 4 deletions
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog
index c29b9e12129..f1ae632267b 100644
--- a/doc/lispref/ChangeLog
+++ b/doc/lispref/ChangeLog
@@ -1,3 +1,7 @@
12012-09-22 Chong Yidong <cyd@gnu.org>
2
3 * frames.texi (Pop-Up Menus): Minor clarification (Bug#11148).
4
12012-09-21 Glenn Morris <rgm@gnu.org> 52012-09-21 Glenn Morris <rgm@gnu.org>
2 6
3 * debugging.texi (Using Debugger): Fix typo. 7 * debugging.texi (Using Debugger): Fix typo.
diff --git a/doc/lispref/frames.texi b/doc/lispref/frames.texi
index 22efcda18be..356a891fbcd 100644
--- a/doc/lispref/frames.texi
+++ b/doc/lispref/frames.texi
@@ -1773,10 +1773,12 @@ where each pane is a list of form
1773(@var{title} @var{item1} @var{item2}...) 1773(@var{title} @var{item1} @var{item2}...)
1774@end example 1774@end example
1775 1775
1776Each item should normally be a cons cell @code{(@var{line} . @var{value})}, 1776Each @var{item} should be a cons cell, @code{(@var{line} . @var{value})},
1777where @var{line} is a string, and @var{value} is the value to return if 1777where @var{line} is a string and @var{value} is the value to return if
1778that @var{line} is chosen. An item can also be a string; this makes a 1778that @var{line} is chosen. Unlike in a menu keymap, a @code{nil}
1779non-selectable line in the menu. 1779@var{value} does not make the menu item non-selectable.
1780Alternatively, each @var{item} can be a string rather than a cons
1781cell; this makes a non-selectable menu item.
1780 1782
1781If the user gets rid of the menu without making a valid choice, for 1783If the user gets rid of the menu without making a valid choice, for
1782instance by clicking the mouse away from a valid choice or by typing 1784instance by clicking the mouse away from a valid choice or by typing