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 | |
| parent | 86cf6b94ed87d3d62c833d70adf5e0c695a8ea05 (diff) | |
| download | emacs-cd7e5dd67d8b2a04e48a01714f7f5e7d87c97d4d.tar.gz emacs-cd7e5dd67d8b2a04e48a01714f7f5e7d87c97d4d.zip | |
(Changing Key Bindings): `suppress-keymap' now uses command remapping.
| -rw-r--r-- | lispref/ChangeLog | 5 | ||||
| -rw-r--r-- | lispref/keymaps.texi | 7 |
2 files changed, 9 insertions, 3 deletions
diff --git a/lispref/ChangeLog b/lispref/ChangeLog index 635ca735e55..e31f6530afa 100644 --- a/lispref/ChangeLog +++ b/lispref/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2005-01-16 Luc Teirlinck <teirllm@auburn.edu> | ||
| 2 | |||
| 3 | * keymaps.texi (Changing Key Bindings): `suppress-keymap' now uses | ||
| 4 | command remapping. | ||
| 5 | |||
| 1 | 2005-01-14 Kim F. Storm <storm@cua.dk> | 6 | 2005-01-14 Kim F. Storm <storm@cua.dk> |
| 2 | 7 | ||
| 3 | * commands.texi (Accessing Events): Add WHOLE arg to posn-at-x-y. | 8 | * commands.texi (Accessing Events): Add WHOLE arg to posn-at-x-y. |
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 |