From: Chong Yidong Date: Mon, 11 Sep 2006 02:39:16 +0000 (+0000) Subject: * keymaps.texi (Active Keymaps): Mention that key-binding checks X-Git-Tag: emacs-pretest-22.0.90~627 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=3250aca208b13f138747c48b7549b41dfe91f4f6;p=emacs.git * keymaps.texi (Active Keymaps): Mention that key-binding checks local maps. --- 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,