Mercurial > emacs
changeset 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 | 1d5b7d31671f |
children | b945bdff4f96 |
files | lispref/keymaps.texi |
diffstat | 1 files changed, 5 insertions(+), 0 deletions(-) [+] |
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