diff options
| author | Eli Zaretskii | 2013-10-08 12:01:26 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2013-10-08 12:01:26 +0300 |
| commit | 493a197846a4483f21605950e6214e42ecb6fc62 (patch) | |
| tree | ec51ee62682fc09d215ee3f9e42c23278f995f8b /src | |
| parent | 1f16a64c411543673ff5ce3e7f52df549ec356e3 (diff) | |
| download | emacs-493a197846a4483f21605950e6214e42ecb6fc62.tar.gz emacs-493a197846a4483f21605950e6214e42ecb6fc62.zip | |
Make tty-menu-open-use-tmm a defcustom, update tmm docs accordingly.
Diffstat (limited to 'src')
| -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 | |||
| 1064 | coordinates are not within the FRAME's menu bar. The symbol can | 1064 | coordinates are not within the FRAME's menu bar. The symbol can |
| 1065 | be used to look up the menu like this: | 1065 | be used to look up the menu like this: |
| 1066 | 1066 | ||
| 1067 | (lookup-key global-map [menu-bar SYMBOL]) | 1067 | (lookup-key MAP [menu-bar SYMBOL]) |
| 1068 | |||
| 1069 | where MAP is either the current global map or the current local map, | ||
| 1070 | since menu-bar items come from both. | ||
| 1068 | 1071 | ||
| 1069 | This function can return non-nil only on a text-terminal frame | 1072 | This function can return non-nil only on a text-terminal frame |
| 1070 | or on an X frame that doesn't use any GUI toolkit. Otherwise, | 1073 | or on an X frame that doesn't use any GUI toolkit. Otherwise, |