# HG changeset patch # User Chong Yidong # Date 1157942356 0 # Node ID 1804621e5f1e72e45848fefc6780d7079b06ca9b # Parent f4ed3e6eff41e241a7207fb5389930f8eba02705 * keymaps.texi (Active Keymaps): Mention that key-binding checks local maps. diff -r f4ed3e6eff41 -r 1804621e5f1e lispref/ChangeLog --- a/lispref/ChangeLog Mon Sep 11 02:34:35 2006 +0000 +++ b/lispref/ChangeLog Mon Sep 11 02:39:16 2006 +0000 @@ -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 -r f4ed3e6eff41 -r 1804621e5f1e lispref/keymaps.texi --- a/lispref/keymaps.texi Mon Sep 11 02:34:35 2006 +0000 +++ b/lispref/keymaps.texi Mon Sep 11 02:39:16 2006 +0000 @@ -664,6 +664,10 @@ 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,