diff options
author | Eli Zaretskii <eliz@gnu.org> | 2013-10-08 12:01:26 +0300 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2013-10-08 12:01:26 +0300 |
commit | 493a197846a4483f21605950e6214e42ecb6fc62 (patch) | |
tree | ec51ee62682fc09d215ee3f9e42c23278f995f8b /src/menu.c | |
parent | 1f16a64c411543673ff5ce3e7f52df549ec356e3 (diff) | |
download | emacs-493a197846a4483f21605950e6214e42ecb6fc62.tar.gz |
Make tty-menu-open-use-tmm a defcustom, update tmm docs accordingly.
Diffstat (limited to 'src/menu.c')
-rw-r--r-- | src/menu.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/menu.c b/src/menu.c index 447faf60b1f..2c787e00b6f 100644 --- a/src/menu.c +++ b/src/menu.c @@ -1064,7 +1064,10 @@ Value is the symbol of the menu at X/Y, or nil if the specified coordinates are not within the FRAME's menu bar. The symbol can be used to look up the menu like this: - (lookup-key global-map [menu-bar SYMBOL]) + (lookup-key MAP [menu-bar SYMBOL]) + +where MAP is either the current global map or the current local map, +since menu-bar items come from both. This function can return non-nil only on a text-terminal frame or on an X frame that doesn't use any GUI toolkit. Otherwise, |