diff options
| author | Stefan Monnier | 2013-02-14 09:40:54 -0500 |
|---|---|---|
| committer | Stefan Monnier | 2013-02-14 09:40:54 -0500 |
| commit | e31560a79130b8f477883a9a32253cb1ed3b3ef2 (patch) | |
| tree | da1c224e09c3c6fd20cdaa7fa59a862b417b8d67 /src | |
| parent | 5267e6d3f62bb58473e9d7bbb485b470a4d2400d (diff) | |
| download | emacs-e31560a79130b8f477883a9a32253cb1ed3b3ef2.tar.gz emacs-e31560a79130b8f477883a9a32253cb1ed3b3ef2.zip | |
* src/keyboard.c (active_maps): Fcurrent_active_maps expects a position, not
an event.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 5 | ||||
| -rw-r--r-- | src/keyboard.c | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 82cc8f0f552..3c9ea256547 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2013-02-14 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 2 | |||
| 3 | * keyboard.c (active_maps): Fcurrent_active_maps expects a position, not | ||
| 4 | an event. | ||
| 5 | |||
| 1 | 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca> | 6 | 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca> |
| 2 | 7 | ||
| 3 | * keyboard.c (syms_of_keyboard): Further tweaks of docstring. | 8 | * keyboard.c (syms_of_keyboard): Further tweaks of docstring. |
diff --git a/src/keyboard.c b/src/keyboard.c index 47507483859..fe1c3d77eb6 100644 --- a/src/keyboard.c +++ b/src/keyboard.c | |||
| @@ -8644,7 +8644,8 @@ follow_key (Lisp_Object keymap, Lisp_Object key) | |||
| 8644 | static Lisp_Object | 8644 | static Lisp_Object |
| 8645 | active_maps (Lisp_Object first_event) | 8645 | active_maps (Lisp_Object first_event) |
| 8646 | { | 8646 | { |
| 8647 | Lisp_Object position = INTEGERP (first_event) ? Qnil : first_event; | 8647 | Lisp_Object position |
| 8648 | = CONSP (first_event) ? CAR_SAFE (XCDR (first_event)) : Qnil; | ||
| 8648 | return Fcons (Qkeymap, Fcurrent_active_maps (Qt, position)); | 8649 | return Fcons (Qkeymap, Fcurrent_active_maps (Qt, position)); |
| 8649 | } | 8650 | } |
| 8650 | 8651 | ||