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