emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r102686: * doc/lispref/keymaps.texi (


From: Stefan Monnier
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r102686: * doc/lispref/keymaps.texi (Simple Menu Items, Extended Menu Items):
Date: Sat, 18 Dec 2010 11:28:15 -0500
User-agent: Bazaar (2.0.3)

------------------------------------------------------------
revno: 102686
committer: Stefan Monnier <address@hidden>
branch nick: trunk
timestamp: Sat 2010-12-18 11:28:15 -0500
message:
  * doc/lispref/keymaps.texi (Simple Menu Items, Extended Menu Items):
  Remove mention of the key-binding-data cache since we don't use it
  any more.
  * doc/lispref/modes.texi (Derived Modes): Mention prog-mode.
modified:
  doc/lispref/ChangeLog
  doc/lispref/keymaps.texi
  doc/lispref/modes.texi
=== modified file 'doc/lispref/ChangeLog'
--- a/doc/lispref/ChangeLog     2010-12-13 17:19:58 +0000
+++ b/doc/lispref/ChangeLog     2010-12-18 16:28:15 +0000
@@ -1,3 +1,10 @@
+2010-12-18  Stefan Monnier  <address@hidden>
+
+       * modes.texi (Derived Modes): Mention prog-mode.
+
+       * keymaps.texi (Simple Menu Items, Extended Menu Items): Remove mention
+       of the key-binding-data cache since we don't use it any more.
+
 2010-12-13  Eli Zaretskii  <address@hidden>
 
        * processes.texi (Shell Arguments):

=== modified file 'doc/lispref/keymaps.texi'
--- a/doc/lispref/keymaps.texi  2010-06-23 03:36:56 +0000
+++ b/doc/lispref/keymaps.texi  2010-12-18 16:28:15 +0000
@@ -2072,21 +2072,6 @@
 of menus in advance.  To force recalculation of the menu bar, call
 @code{force-mode-line-update} (@pxref{Mode Line Format}).
 
-  You've probably noticed that menu items show the equivalent keyboard key
-sequence (if any) to invoke the same command.  To save time on
-recalculation, menu display caches this information in a sublist in the
-binding, like this:
-
address@hidden This line is not too long--rms.
address@hidden
-(@var{item-string} @address@hidden@r{]} (@var{key-binding-data}) . 
@var{real-binding})
address@hidden example
-
address@hidden
-Don't put these sublists in the menu item yourself; menu display
-calculates them automatically.  Don't mention keyboard equivalents in
-the item strings themselves, since that is redundant.
-
 @node Extended Menu Items
 @subsubsection Extended Menu Items
 @kindex menu-item
@@ -2119,14 +2104,6 @@
 @var{item-property-list}, has the form of a property list which contains
 other information.
 
-  When an equivalent keyboard key binding is cached, the extended menu
-item binding looks like this:
-
address@hidden
-(menu-item @var{item-name} @var{real-binding} (@var{key-binding-data})
-    . @var{item-property-list})
address@hidden example
-
   Here is a table of the properties that are supported:
 
 @table @code

=== modified file 'doc/lispref/modes.texi'
--- a/doc/lispref/modes.texi    2010-12-13 15:27:36 +0000
+++ b/doc/lispref/modes.texi    2010-12-18 16:28:15 +0000
@@ -744,7 +744,8 @@
   The recommended way to define a new major mode is to derive it
 from an existing one using @code{define-derived-mode}.  If there is no
 closely related mode, you can inherit from @code{text-mode},
address@hidden, or in the worst case @code{fundamental-mode}.
address@hidden, @code{prog-mode}, or in the worst case
address@hidden
 
 @defmac define-derived-mode variant parent name docstring address@hidden 
address@hidden
 This macro defines @var{variant} as a major mode command, using


reply via email to

[Prev in Thread] Current Thread [Next in Thread]