aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog5
-rw-r--r--src/keyboard.c3
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 @@
12013-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
12013-02-13 Stefan Monnier <monnier@iro.umontreal.ca> 62013-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)
8644static Lisp_Object 8644static Lisp_Object
8645active_maps (Lisp_Object first_event) 8645active_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