aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEli Zaretskii2017-03-03 16:19:28 +0200
committerEli Zaretskii2017-03-03 16:19:28 +0200
commitaaf86f30f709b22e9bae8cdb23ec89342dcaa55f (patch)
treea25d34785701cb1a0b18ec97bad8104e451620cf /src
parent7b00e956b485d8ade03c870cbdd0ae086348737b (diff)
downloademacs-aaf86f30f709b22e9bae8cdb23ec89342dcaa55f.tar.gz
emacs-aaf86f30f709b22e9bae8cdb23ec89342dcaa55f.zip
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)
Diffstat (limited to 'src')
-rw-r--r--src/keyboard.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/keyboard.c b/src/keyboard.c
index 0245dfa9759..ec4dee01720 100644
--- a/src/keyboard.c
+++ b/src/keyboard.c
@@ -3245,7 +3245,7 @@ record_char (Lisp_Object c)
3245 } 3245 }
3246 } 3246 }
3247 } 3247 }
3248 else 3248 else if (NILP (Vexecuting_kbd_macro))
3249 store_kbd_macro_char (c); 3249 store_kbd_macro_char (c);
3250 3250
3251 /* recent_keys should not include events from keyboard macros. */ 3251 /* recent_keys should not include events from keyboard macros. */