diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/xmenu.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/xmenu.c b/src/xmenu.c index 7ef1131769a..bdfe046f838 100644 --- a/src/xmenu.c +++ b/src/xmenu.c | |||
| @@ -763,10 +763,14 @@ The menu items come from key bindings that have a menu string as well as\n\ | |||
| 763 | a definition; actually, the \"definition\" in such a key binding looks like\n\ | 763 | a definition; actually, the \"definition\" in such a key binding looks like\n\ |
| 764 | \(STRING . REAL-DEFINITION). To give the menu a title, put a string into\n\ | 764 | \(STRING . REAL-DEFINITION). To give the menu a title, put a string into\n\ |
| 765 | the keymap as a top-level element.\n\n\ | 765 | the keymap as a top-level element.\n\n\ |
| 766 | If REAL-DEFINITION is nil, that puts a nonselectable string in the menu.\n\ | ||
| 767 | Otherwise, REAL-DEFINITION should be a valid key binding definition.\n\ | ||
| 768 | \n\ | ||
| 766 | You can also use a list of keymaps as MENU.\n\ | 769 | You can also use a list of keymaps as MENU.\n\ |
| 767 | Then each keymap makes a separate pane.\n\ | 770 | Then each keymap makes a separate pane.\n\ |
| 768 | When MENU is a keymap or a list of keymaps, the return value\n\ | 771 | When MENU is a keymap or a list of keymaps, the return value\n\ |
| 769 | is a list of events.\n\n\ | 772 | is a list of events.\n\n\ |
| 773 | \n\ | ||
| 770 | Alternatively, you can specify a menu of multiple panes\n\ | 774 | Alternatively, you can specify a menu of multiple panes\n\ |
| 771 | with a list of the form (TITLE PANE1 PANE2...),\n\ | 775 | with a list of the form (TITLE PANE1 PANE2...),\n\ |
| 772 | where each pane is a list of form (TITLE ITEM1 ITEM2...).\n\ | 776 | where each pane is a list of form (TITLE ITEM1 ITEM2...).\n\ |