]> git.eshelyaron.com Git - emacs.git/commitdiff
Explain why a parent for a non-sparse keymap is not useful.
authorRichard M. Stallman <rms@gnu.org>
Fri, 2 Nov 2001 07:11:18 +0000 (07:11 +0000)
committerRichard M. Stallman <rms@gnu.org>
Fri, 2 Nov 2001 07:11:18 +0000 (07:11 +0000)
lispref/keymaps.texi

index 8dfd2db8dfced15ff8acb738c9135e3a97a18b3a..c087b9687931bcfac680e1855d3f7799d9e1331d 100644 (file)
@@ -333,7 +333,7 @@ new parent keymaps that reflect what @var{parent} specifies for those
 prefix keys.
 @end defun
 
-Here is an example showing how to make a keymap that inherits
+   Here is an example showing how to make a keymap that inherits
 from @code{text-mode-map}:
 
 @example
@@ -342,6 +342,12 @@ from @code{text-mode-map}:
   map)
 @end example
 
+  A non-sparse keymap can have a parent too, but this is not very
+useful.  A non-sparse keymap always specifies something as the binding
+for every numeric character code without modifier bits, even if it is
+@code{nil}, so these character's bindings are never inherited from
+the parent keymap.
+
 @node Prefix Keys
 @section Prefix Keys
 @cindex prefix key