changeset 14094:e5e4fe8e968f

(Fexecute_kbd_macro): Local var `pdlcount' renamed from `count' to remove collision with recently renamed argument.
author Karl Heuer <kwzh@gnu.org>
date Tue, 09 Jan 1996 02:34:30 +0000
parents 338f645e6b9a
children d612434249db
files src/macros.c
diffstat 1 files changed, 5 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/macros.c	Tue Jan 09 02:21:31 1996 +0000
+++ b/src/macros.c	Tue Jan 09 02:34:30 1996 +0000
@@ -208,13 +208,14 @@
 {
   Lisp_Object final;
   Lisp_Object tem;
-  int count = specpdl_ptr - specpdl;
+  int pdlcount = specpdl_ptr - specpdl;
   int repeat = 1;
   struct gcpro gcpro1;
 
-  if (!NILP (count))
-    count = Fprefix_numeric_value (count),
+  if (!NILP (count)) {
+    count = Fprefix_numeric_value (count);
     repeat = XINT (count);
+  }
 
   final = indirect_function (macro);
   if (!STRINGP (final) && !VECTORP (final))
@@ -239,7 +240,7 @@
 	 && (STRINGP (Vexecuting_macro) || VECTORP (Vexecuting_macro)));
 
   UNGCPRO;
-  return unbind_to (count, Qnil);
+  return unbind_to (pdlcount, Qnil);
 }
 
 init_macros ()