emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] Changes to emacs/lispref/keymaps.texi


From: Stefan Monnier
Subject: [Emacs-diffs] Changes to emacs/lispref/keymaps.texi
Date: Mon, 05 Dec 2005 14:42:12 -0500

Index: emacs/lispref/keymaps.texi
diff -c emacs/lispref/keymaps.texi:1.68 emacs/lispref/keymaps.texi:1.69
*** emacs/lispref/keymaps.texi:1.68     Wed Aug 10 14:29:00 2005
--- emacs/lispref/keymaps.texi  Mon Dec  5 19:42:10 2005
***************
*** 158,174 ****
  bindings.  A keymap with such a char-table is called a @dfn{full
  keymap}.  Other keymaps are called @dfn{sparse keymaps}.
  
- When a keymap contains a char-table vector, it always defines a
- binding for each character without modifiers.  However, if the binding
- is @code{nil}, it doesn't constitute a definition.  @code{nil} takes
- precedence over a default binding or a binding in the parent keymap.
- So in a full keymap, default bindings are not meaningful for
- characters without modifiers.  They can still apply to characters with
- modifier bits and to non-character events.  A binding of @code{nil}
- does @emph{not} override lower-precedence keymaps; thus, if the local
- map gives a binding of @code{nil}, Emacs uses the binding from the
- global map.
- 
  @item @var{string}
  @cindex keymap prompt string
  @cindex overall prompt string
--- 158,163 ----
***************
*** 177,182 ****
--- 166,178 ----
  This is called the @dfn{overall prompt string} and makes it possible to
  use the keymap as a menu.  @xref{Defining Menus}.
  @end table
+ 
+ When the binding is @code{nil}, it doesn't constitute a definition
+ but it does take precedence over a default binding or a binding in the
+ parent keymap.  On the other hand, a binding of @code{nil} does
+ @emph{not} override lower-precedence keymaps; thus, if the local map
+ gives a binding of @code{nil}, Emacs uses the binding from the
+ global map.
  
  @cindex meta characters lookup
    Keymaps do not directly record bindings for the meta characters.




reply via email to

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