163
|
1 ;;; DO NOT MODIFY THIS FILE
|
183
|
2 (if (featurep 'vm-autoloads) (error "Already loaded"))
|
163
|
3
|
|
4 ;;;### (autoloads (vm-easy-menu-create-keymaps vm-easy-menu-define) "vm-easymenu" "vm/vm-easymenu.el")
|
|
5
|
|
6 (autoload 'vm-easy-menu-define "vm-easymenu" "\
|
|
7 Define a menu bar submenu in maps MAPS, according to MENU.
|
|
8 The menu keymap is stored in symbol SYMBOL, both as its value
|
|
9 and as its function definition. DOC is used as the doc string for SYMBOL.
|
|
10
|
|
11 The first element of MENU must be a string. It is the menu bar item name.
|
|
12 The rest of the elements are menu items.
|
|
13
|
|
14 A menu item is usually a vector of three elements: [NAME CALLBACK ENABLE]
|
|
15
|
|
16 NAME is a string--the menu item name.
|
|
17
|
|
18 CALLBACK is a command to run when the item is chosen,
|
|
19 or a list to evaluate when the item is chosen.
|
|
20
|
|
21 ENABLE is an expression; the item is enabled for selection
|
|
22 whenever this expression's value is non-nil.
|
|
23
|
|
24 Alternatively, a menu item may have the form:
|
|
25
|
|
26 [ NAME CALLBACK [ KEYWORD ARG ] ... ]
|
|
27
|
|
28 Where KEYWORD is one of the symbol defined below.
|
|
29
|
|
30 :keys KEYS
|
|
31
|
|
32 KEYS is a string; a complex keyboard equivalent to this menu item.
|
|
33 This is normally not needed because keyboard equivalents are usually
|
|
34 computed automatically.
|
|
35
|
|
36 :active ENABLE
|
|
37
|
|
38 ENABLE is an expression; the item is enabled for selection
|
|
39 whenever this expression's value is non-nil.
|
|
40
|
|
41 :suffix NAME
|
|
42
|
|
43 NAME is a string; the name of an argument to CALLBACK.
|
|
44
|
|
45 :style
|
|
46
|
|
47 STYLE is a symbol describing the type of menu item. The following are
|
|
48 defined:
|
|
49
|
|
50 toggle: A checkbox.
|
|
51 Currently just prepend the name with the string \"Toggle \".
|
|
52 radio: A radio button.
|
|
53 nil: An ordinary menu item.
|
|
54
|
|
55 :selected SELECTED
|
|
56
|
|
57 SELECTED is an expression; the checkbox or radio button is selected
|
|
58 whenever this expression's value is non-nil.
|
|
59 Currently just disable radio buttons, no effect on checkboxes.
|
|
60
|
|
61 A menu item can be a string. Then that string appears in the menu as
|
|
62 unselectable text. A string consisting solely of hyphens is displayed
|
|
63 as a solid horizontal line.
|
|
64
|
|
65 A menu item can be a list. It is treated as a submenu.
|
|
66 The first element should be the submenu name. That's used as the
|
|
67 menu item in the top-level menu. The cdr of the submenu list
|
|
68 is a list of menu items, as above." nil 'macro)
|
|
69
|
|
70 (autoload 'vm-easy-menu-create-keymaps "vm-easymenu" nil nil nil)
|
|
71
|
|
72 ;;;***
|
169
|
73
|
|
74 (provide 'vm-autoloads)
|