aboutsummaryrefslogtreecommitdiffstats
path: root/src/xmenu.c
diff options
context:
space:
mode:
authorLuc Teirlinck2005-05-02 01:39:30 +0000
committerLuc Teirlinck2005-05-02 01:39:30 +0000
commite3fbac653d44d4a3dd513479bc2cefcfd2664997 (patch)
tree1555bd0330355f1111e23173fd7d7cfa63a63ba3 /src/xmenu.c
parent4d49edf6d6bc49b01494b9cd7b666a283459e904 (diff)
downloademacs-e3fbac653d44d4a3dd513479bc2cefcfd2664997.tar.gz
emacs-e3fbac653d44d4a3dd513479bc2cefcfd2664997.zip
(Fx_popup_menu): Doc fix.
Diffstat (limited to 'src/xmenu.c')
-rw-r--r--src/xmenu.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/xmenu.c b/src/xmenu.c
index d86535c47ac..392d48d2484 100644
--- a/src/xmenu.c
+++ b/src/xmenu.c
@@ -737,7 +737,7 @@ DEFUN ("x-popup-menu", Fx_popup_menu, Sx_popup_menu, 2, 2, 0,
737POSITION is a position specification. This is either a mouse button event 737POSITION is a position specification. This is either a mouse button event
738or a list ((XOFFSET YOFFSET) WINDOW) 738or a list ((XOFFSET YOFFSET) WINDOW)
739where XOFFSET and YOFFSET are positions in pixels from the top left 739where XOFFSET and YOFFSET are positions in pixels from the top left
740corner of WINDOW's frame. (WINDOW may be a frame object instead of a window.) 740corner of WINDOW. (WINDOW may be a window or a frame object.)
741This controls the position of the top left of the menu as a whole. 741This controls the position of the top left of the menu as a whole.
742If POSITION is t, it means to use the current mouse position. 742If POSITION is t, it means to use the current mouse position.
743 743
@@ -752,8 +752,11 @@ Otherwise, REAL-DEFINITION should be a valid key binding definition.
752 752
753You can also use a list of keymaps as MENU. 753You can also use a list of keymaps as MENU.
754 Then each keymap makes a separate pane. 754 Then each keymap makes a separate pane.
755When MENU is a keymap or a list of keymaps, the return value 755
756is a list of events. 756When MENU is a keymap or a list of keymaps, the return value is the
757list of events corresponding to the user's choice. Note that
758`x-popup-menu' does not actually execute the command bound to that
759sequence of events.
757 760
758Alternatively, you can specify a menu of multiple panes 761Alternatively, you can specify a menu of multiple panes
759 with a list of the form (TITLE PANE1 PANE2...), 762 with a list of the form (TITLE PANE1 PANE2...),