summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChong Yidong <cyd@stupidchicken.com>2006-09-11 02:39:16 +0000
committerChong Yidong <cyd@stupidchicken.com>2006-09-11 02:39:16 +0000
commitf42241923b0213272de9d1ede8022c842ad16820 (patch)
tree34f1f0c8d85e84c9cff115adfed937791abe2329
parent4e495105eee200725801546db9d5e77bf304f162 (diff)
downloademacs-f42241923b0213272de9d1ede8022c842ad16820.tar.gz
* keymaps.texi (Active Keymaps): Mention that key-binding checks
local maps.
-rw-r--r--lispref/ChangeLog5
-rw-r--r--lispref/keymaps.texi4
2 files changed, 9 insertions, 0 deletions
diff --git a/lispref/ChangeLog b/lispref/ChangeLog
index f8713eb0394..3ce4978d956 100644
--- a/lispref/ChangeLog
+++ b/lispref/ChangeLog
@@ -1,3 +1,8 @@
+2006-09-10 Chong Yidong <cyd@stupidchicken.com>
+
+ * keymaps.texi (Active Keymaps): Mention that key-binding checks
+ local maps.
+
2006-09-10 Kim F. Storm <storm@cua.dk>
* display.texi (Forcing Redisplay): Document return value of
diff --git a/lispref/keymaps.texi b/lispref/keymaps.texi
index 13f4550a082..d876761a765 100644
--- a/lispref/keymaps.texi
+++ b/lispref/keymaps.texi
@@ -664,6 +664,10 @@ undefined in the keymaps.
The argument @var{accept-defaults} controls checking for default
bindings, as in @code{lookup-key} (above).
+When @var{key} is a vector containing an input event, such as a mouse
+click, @code{key-binding} first looks for the binding in the local
+keymap at the position specified by that event, if any.
+
When commands are remapped (@pxref{Remapping Commands}),
@code{key-binding} normally processes command remappings so as to
returns the remapped command that will actually be executed. However,