diff options
| author | Lars Ingebrigtsen | 2019-10-11 22:28:27 +0200 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2019-10-11 22:28:27 +0200 |
| commit | f9d8babe6a28b19c781778c361e45b93f7a01f17 (patch) | |
| tree | 6e1236e87094528147eab1386b3200e14ee1b03a | |
| parent | 6f66d813ba657a73c4d02c179f080dbeb3650075 (diff) | |
| download | emacs-f9d8babe6a28b19c781778c361e45b93f7a01f17.tar.gz emacs-f9d8babe6a28b19c781778c361e45b93f7a01f17.zip | |
Document REAL-BINDING more extensively in Extended Menu Items
* doc/lispref/keymaps.texi (Extended Menu Items): Document that
REAL-BINDING can be other things than a real command (bug#7755).
| -rw-r--r-- | doc/lispref/keymaps.texi | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/doc/lispref/keymaps.texi b/doc/lispref/keymaps.texi index 58f4a6687d9..532e537026a 100644 --- a/doc/lispref/keymaps.texi +++ b/doc/lispref/keymaps.texi | |||
| @@ -2152,10 +2152,16 @@ binding looks like this: | |||
| 2152 | 2152 | ||
| 2153 | @noindent | 2153 | @noindent |
| 2154 | Here, @var{item-name} is an expression which evaluates to the menu item | 2154 | Here, @var{item-name} is an expression which evaluates to the menu item |
| 2155 | string. Thus, the string need not be a constant. The third element, | 2155 | string. Thus, the string need not be a constant. |
| 2156 | @var{real-binding}, is the command to execute. The tail of the list, | 2156 | |
| 2157 | @var{item-property-list}, has the form of a property list which contains | 2157 | The third element, @var{real-binding}, can be the command to execute |
| 2158 | other information. | 2158 | (in which case you get a normal menu item). It can also be a keymap, |
| 2159 | which will result in a submenu. Finally, it can be @code{nil}, in | ||
| 2160 | which case you will get a non-selectable menu item. This is mostly | ||
| 2161 | useful when creating separator lines and the like. | ||
| 2162 | |||
| 2163 | The tail of the list, @var{item-property-list}, has the form of a | ||
| 2164 | property list which contains other information. | ||
| 2159 | 2165 | ||
| 2160 | Here is a table of the properties that are supported: | 2166 | Here is a table of the properties that are supported: |
| 2161 | 2167 | ||