aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuc Teirlinck2005-01-17 02:44:58 +0000
committerLuc Teirlinck2005-01-17 02:44:58 +0000
commitcd7e5dd67d8b2a04e48a01714f7f5e7d87c97d4d (patch)
tree5d97f8327fa68cacebc7c305fecc01a590a4e825
parent86cf6b94ed87d3d62c833d70adf5e0c695a8ea05 (diff)
downloademacs-cd7e5dd67d8b2a04e48a01714f7f5e7d87c97d4d.tar.gz
emacs-cd7e5dd67d8b2a04e48a01714f7f5e7d87c97d4d.zip
(Changing Key Bindings): `suppress-keymap' now uses command remapping.
-rw-r--r--lispref/ChangeLog5
-rw-r--r--lispref/keymaps.texi7
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 @@
12005-01-16 Luc Teirlinck <teirllm@auburn.edu>
2
3 * keymaps.texi (Changing Key Bindings): `suppress-keymap' now uses
4 command remapping.
5
12005-01-14 Kim F. Storm <storm@cua.dk> 62005-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
1268This function changes the contents of the full keymap @var{keymap} by 1268This function changes the contents of the full keymap @var{keymap} by
1269making all the printing characters undefined. More precisely, it binds 1269remapping @code{self-insert-command} to the command @code{undefined}
1270them to the command @code{undefined}. This makes ordinary insertion of 1270(@pxref{Remapping Commands}). This has the effect of undefining all
1271text impossible. @code{suppress-keymap} returns @code{nil}. 1271printing characters, thus making ordinary insertion of text impossible.
1272@code{suppress-keymap} returns @code{nil}.
1272 1273
1273If @var{nodigits} is @code{nil}, then @code{suppress-keymap} defines 1274If @var{nodigits} is @code{nil}, then @code{suppress-keymap} defines
1274digits to run @code{digit-argument}, and @kbd{-} to run 1275digits to run @code{digit-argument}, and @kbd{-} to run