Mercurial > emacs
changeset 59589:e77e3350e075
(Changing Key Bindings): `suppress-keymap' now uses command remapping.
author | Luc Teirlinck <teirllm@auburn.edu> |
---|---|
date | Mon, 17 Jan 2005 02:43:47 +0000 |
parents | 5ff790f43164 |
children | 8b0050adf8e4 |
files | lispref/keymaps.texi |
diffstat | 1 files changed, 4 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/lispref/keymaps.texi Sun Jan 16 23:24:31 2005 +0000 +++ b/lispref/keymaps.texi Mon Jan 17 02:43:47 2005 +0000 @@ -1266,9 +1266,10 @@ @defun suppress-keymap keymap &optional nodigits @cindex @code{self-insert-command} override This function changes the contents of the full keymap @var{keymap} by -making all the printing characters undefined. More precisely, it binds -them to the command @code{undefined}. This makes ordinary insertion of -text impossible. @code{suppress-keymap} returns @code{nil}. +remapping @code{self-insert-command} to the command @code{undefined} +(@pxref{Remapping Commands}). This has the effect of undefining all +printing characters, thus making ordinary insertion of text impossible. +@code{suppress-keymap} returns @code{nil}. If @var{nodigits} is @code{nil}, then @code{suppress-keymap} defines digits to run @code{digit-argument}, and @kbd{-} to run