Mercurial > emacs
diff lispref/keymaps.texi @ 39794:30c76f38ad7b
Describe the meaning of a nil binding.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Fri, 12 Oct 2001 01:33:41 +0000 |
parents | a585fe0f948f |
children | 6123edb0c45e |
line wrap: on
line diff
--- a/lispref/keymaps.texi Fri Oct 12 01:32:51 2001 +0000 +++ b/lispref/keymaps.texi Fri Oct 12 01:33:41 2001 +0000 @@ -131,6 +131,11 @@ called a @dfn{full keymap}. Other keymaps are called @dfn{sparse keymaps}. +A @code{nil} binding is used to mean that a key is explicitly not bound. +Just like any other binding, it takes precedence over a default binding +or a binding in the parent keymap, but on the other hand, it does not +take precedence over keymaps of lower priority. + When a keymap contains a vector, it always defines a binding for each @sc{ascii} character, even if the vector contains @code{nil} for that character. Such a binding of @code{nil} overrides any default key