Avoid duplicating characters recorded in macros

* src/keyboard.c (record_char): Don't store in macro definitions
characters that came from executing a macro.  (Bug#25860)
This commit is contained in:
Eli Zaretskii 2017-03-03 16:19:28 +02:00
parent 7b00e956b4
commit aaf86f30f7

View file

@ -3245,7 +3245,7 @@ record_char (Lisp_Object c)
}
}
}
else
else if (NILP (Vexecuting_kbd_macro))
store_kbd_macro_char (c);
/* recent_keys should not include events from keyboard macros. */