]> git.eshelyaron.com Git - emacs.git/commitdiff
(Extended Menu Items): Show format of cached bindings in extended menu items.
authorRichard M. Stallman <rms@gnu.org>
Wed, 16 Aug 2006 05:11:54 +0000 (05:11 +0000)
committerRichard M. Stallman <rms@gnu.org>
Wed, 16 Aug 2006 05:11:54 +0000 (05:11 +0000)
lispref/keymaps.texi

index 44b92ddfcb85273a6b9a064792126b6701732e6a..13f4550a082b078a5964a3aaf91f9b4a3ec9d3c6 100644 (file)
@@ -2016,7 +2016,7 @@ binding, like this:
 
 @c This line is not too long--rms.
 @example
-(@var{item-string} @r{[}@var{help-string}@r{]} (@var{key-binding-data}) . @var{real-binding})
+(@var{item-string} @r{[}@var{help}@r{]} (@var{key-binding-data}) . @var{real-binding})
 @end example
 
 @noindent
@@ -2140,6 +2140,13 @@ 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