From 3250aca208b13f138747c48b7549b41dfe91f4f6 Mon Sep 17 00:00:00 2001 From: Chong Yidong Date: Mon, 11 Sep 2006 02:39:16 +0000 Subject: [PATCH] * keymaps.texi (Active Keymaps): Mention that key-binding checks local maps. --- lispref/ChangeLog | 5 +++++ lispref/keymaps.texi | 4 ++++ 2 files changed, 9 insertions(+) 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 + + * keymaps.texi (Active Keymaps): Mention that key-binding checks + local maps. + 2006-09-10 Kim F. Storm * 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, -- 2.39.2