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