diff options
| author | Stefan Monnier | 2013-02-11 14:21:23 -0500 |
|---|---|---|
| committer | Stefan Monnier | 2013-02-11 14:21:23 -0500 |
| commit | 99d0d6dc23f0fd2ee6d64f0f18a33f2b791c642d (patch) | |
| tree | 2cd8a54c22c9354415306c76bd65dddde723532f /etc | |
| parent | f5e1b6804dc2307983e4c55d4d6530549ddccbb7 (diff) | |
| download | emacs-99d0d6dc23f0fd2ee6d64f0f18a33f2b791c642d.tar.gz emacs-99d0d6dc23f0fd2ee6d64f0f18a33f2b791c642d.zip | |
Clean up read_key_sequence a bit; reread active keymaps after first event.
* src/keyboard.c (read_char, read_char_x_menu_prompt)
(read_char_minibuf_menu_prompt):
Replace nmaps+maps with a single `map' arg.
(follow_key): Operate on a single map.
(active_maps): New function.
(test_undefined): Also return true for nil bindings.
(read_key_sequence): Use active_maps to replace the arrays of keymaps with
a single (composed) keymap. Remember `first_event' to choose the right
set of active keymaps. Recompute the set of keymaps after receiving
the first event. Remove GOBBLE_FIRST_EVENT.
(syms_of_keyboard): Remove inhibit_local_menu_bar_menus.
* src/keyboard.h (read_char): Update declaration.
* src/lread.c (read_filtered_event): Adjust call to read_char.
* lisp/cus-start.el (all): Remove inhibit-local-menu-bar-menus.
Diffstat (limited to 'etc')
| -rw-r--r-- | etc/NEWS | 2 |
1 files changed, 2 insertions, 0 deletions
| @@ -210,6 +210,8 @@ It is layered as: | |||
| 210 | 210 | ||
| 211 | * Incompatible Lisp Changes in Emacs 24.4 | 211 | * Incompatible Lisp Changes in Emacs 24.4 |
| 212 | 212 | ||
| 213 | ** Removed inhibit-local-menu-bar-menus. | ||
| 214 | |||
| 213 | ** frame-local variables that affect redisplay do not work any more. | 215 | ** frame-local variables that affect redisplay do not work any more. |
| 214 | More specifically, the redisplay does not bother to check for a frame-local | 216 | More specifically, the redisplay does not bother to check for a frame-local |
| 215 | value when looking up variables. | 217 | value when looking up variables. |