summaryrefslogtreecommitdiff
path: root/src/macros.c
diff options
context:
space:
mode:
authorKarl Heuer <kwzh@gnu.org>1999-03-14 06:33:01 +0000
committerKarl Heuer <kwzh@gnu.org>1999-03-14 06:33:01 +0000
commit68da349e0a95dc6b708b7485dc8fa9ca31afe517 (patch)
tree30acdeb5d74656dfe511bfdcc036f9e798a8a7e9 /src/macros.c
parent674f53187098bf2b4ba9259e82bd5e210f144f8c (diff)
downloademacs-68da349e0a95dc6b708b7485dc8fa9ca31afe517.tar.gz
(Fexecute_kbd_macro): Initialize executing_macro_iterations at beginning.
Diffstat (limited to 'src/macros.c')
-rw-r--r--src/macros.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/macros.c b/src/macros.c
index f5bddd26e6f..0d86d9cf54f 100644
--- a/src/macros.c
+++ b/src/macros.c
@@ -255,6 +255,8 @@ COUNT is a repeat count, or nil for once, or 0 for infinite loop.")
struct gcpro gcpro1;
int success_count = 0;
+ executing_macro_iterations = 0;
+
if (!NILP (count))
{
count = Fprefix_numeric_value (count);