summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>2007-04-22 16:59:44 +0000
committerRichard M. Stallman <rms@gnu.org>2007-04-22 16:59:44 +0000
commit425b3c45305653cec4577b29d6c40825beab6ab9 (patch)
treecb500c51e2d3fac565fdd2ad76f9aeadf92feb8e
parent44395dee2eeef9bb365e5e455f06e21705cb366a (diff)
(Extended Menu Items): Move the info about
format with cached keyboard binding.
-rw-r--r--lispref/keymaps.texi19
1 files changed, 11 insertions, 8 deletions
diff --git a/lispref/keymaps.texi b/lispref/keymaps.texi
index cd0ae7ec97..88b312d227 100644
--- a/lispref/keymaps.texi
+++ b/lispref/keymaps.texi
@@ -2094,7 +2094,17 @@ Here, @var{item-name} is an expression which evaluates to the menu item
string. Thus, the string need not be a constant. The third element,
@var{real-binding}, is the command to execute. The tail of the list,
@var{item-property-list}, has the form of a property list which contains
-other information. Here is a table of the properties that are supported:
+other information.
+
+ When an equivalent keyboard key binding is cached, the extended menu
+item binding looks like this:
+
+@example
+(menu-item @var{item-name} @var{real-binding} (@var{key-binding-data})
+ . @var{item-property-list})
+@end example
+
+ Here is a table of the properties that are supported:
@table @code
@item :enable @var{form}
@@ -2180,13 +2190,6 @@ operates on menu data structures, so you should write it so it can
safely be called at any time.
@end table
- When an equivalent key binding is cached, the binding looks like this.
-
-@example
-(menu-item @var{item-name} @var{real-binding} (@var{key-binding-data})
- . @var{item-property-list})
-@end example
-
@node Menu Separators
@subsubsection Menu Separators
@cindex menu separators