comparison src/ChangeLog @ 104918:cd8d62c35d57

* keymap.c (where_is_internal_data): Make noindirect a boolean. (where_is_internal): Strip it down to only traverse the keymaps. Move the cache handling from Fwhere_is_internal to here. (Fwhere_is_internal): Move the handling of remapping and the choice of the best binding from where_is_internal to here. Unify the cached/noncached paths, so remapping is also handled correctly when the cache is used, and so the cache can be used to speed up remap-handling when applicable. Give preference to non-remapped bindings. * doc.c (Fsubstitute_command_keys): Let Fwhere_is_internal's prefer non-remapped bindings. * keyboard.c (parse_menu_item): Let Fwhere_is_internal handle command remapping.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Thu, 10 Sep 2009 16:19:52 +0000
parents 9d2e34daf3ab
children 566d2dc55a9d
comparison
equal deleted inserted replaced
104917:2d6dc187388c 104918:cd8d62c35d57
1 2009-09-10 Stefan Monnier <monnier@iro.umontreal.ca> 1 2009-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * keymap.c (where_is_internal_data): Make noindirect a boolean.
4 (where_is_internal): Strip it down to only traverse the keymaps.
5 Move the cache handling from Fwhere_is_internal to here.
6 (Fwhere_is_internal): Move the handling of remapping and the choice of
7 the best binding from where_is_internal to here.
8 Unify the cached/noncached paths, so remapping is also handled
9 correctly when the cache is used, and so the cache can be used to
10 speed up remap-handling when applicable.
11 Give preference to non-remapped bindings.
12 * doc.c (Fsubstitute_command_keys): Let Fwhere_is_internal's prefer
13 non-remapped bindings.
14 * keyboard.c (parse_menu_item): Let Fwhere_is_internal handle
15 command remapping.
2 16
3 * xdisp.c (display_mode_element): Move list length limit from 50 to 17 * xdisp.c (display_mode_element): Move list length limit from 50 to
4 5000 (see thread starting with <xbaik5174uqu.fsf@cam.ac.uk>). 18 5000 (see thread starting with <xbaik5174uqu.fsf@cam.ac.uk>).
5 19
6 2009-09-09 Stefan Monnier <monnier@iro.umontreal.ca> 20 2009-09-09 Stefan Monnier <monnier@iro.umontreal.ca>