diff options
| author | Luc Teirlinck | 2005-01-17 02:44:58 +0000 |
|---|---|---|
| committer | Luc Teirlinck | 2005-01-17 02:44:58 +0000 |
| commit | cd7e5dd67d8b2a04e48a01714f7f5e7d87c97d4d (patch) | |
| tree | 5d97f8327fa68cacebc7c305fecc01a590a4e825 /lispref/keymaps.texi | |
| parent | 86cf6b94ed87d3d62c833d70adf5e0c695a8ea05 (diff) | |
| download | emacs-cd7e5dd67d8b2a04e48a01714f7f5e7d87c97d4d.tar.gz emacs-cd7e5dd67d8b2a04e48a01714f7f5e7d87c97d4d.zip | |
(Changing Key Bindings): `suppress-keymap' now uses command remapping.
Diffstat (limited to 'lispref/keymaps.texi')
| -rw-r--r-- | lispref/keymaps.texi | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lispref/keymaps.texi b/lispref/keymaps.texi index b3ae0d8808e..8b2644c4fbb 100644 --- a/lispref/keymaps.texi +++ b/lispref/keymaps.texi | |||
| @@ -1266,9 +1266,10 @@ map | |||
| 1266 | @defun suppress-keymap keymap &optional nodigits | 1266 | @defun suppress-keymap keymap &optional nodigits |
| 1267 | @cindex @code{self-insert-command} override | 1267 | @cindex @code{self-insert-command} override |
| 1268 | This function changes the contents of the full keymap @var{keymap} by | 1268 | This function changes the contents of the full keymap @var{keymap} by |
| 1269 | making all the printing characters undefined. More precisely, it binds | 1269 | remapping @code{self-insert-command} to the command @code{undefined} |
| 1270 | them to the command @code{undefined}. This makes ordinary insertion of | 1270 | (@pxref{Remapping Commands}). This has the effect of undefining all |
| 1271 | text impossible. @code{suppress-keymap} returns @code{nil}. | 1271 | printing characters, thus making ordinary insertion of text impossible. |
| 1272 | @code{suppress-keymap} returns @code{nil}. | ||
| 1272 | 1273 | ||
| 1273 | If @var{nodigits} is @code{nil}, then @code{suppress-keymap} defines | 1274 | If @var{nodigits} is @code{nil}, then @code{suppress-keymap} defines |
| 1274 | digits to run @code{digit-argument}, and @kbd{-} to run | 1275 | digits to run @code{digit-argument}, and @kbd{-} to run |