aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/macros.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/macros.c b/src/macros.c
index 80e3025a9a8..66a63a6a1df 100644
--- a/src/macros.c
+++ b/src/macros.c
@@ -212,10 +212,11 @@ COUNT is a repeat count, or nil for once, or 0 for infinite loop.")
212 int repeat = 1; 212 int repeat = 1;
213 struct gcpro gcpro1; 213 struct gcpro gcpro1;
214 214
215 if (!NILP (count)) { 215 if (!NILP (count))
216 count = Fprefix_numeric_value (count); 216 {
217 repeat = XINT (count); 217 count = Fprefix_numeric_value (count);
218 } 218 repeat = XINT (count);
219 }
219 220
220 final = indirect_function (macro); 221 final = indirect_function (macro);
221 if (!STRINGP (final) && !VECTORP (final)) 222 if (!STRINGP (final) && !VECTORP (final))