(executing_macro_index): Change type to EMACS_INT.
authorKim F. Storm <storm@cua.dk>
Sun, 8 Sep 2002 20:28:46 +0000 (20:28 +0000)
committerKim F. Storm <storm@cua.dk>
Sun, 8 Sep 2002 20:28:46 +0000 (20:28 +0000)
(syms_of_macros): DEFVAR_INT it  (needed by kmacro).

src/macros.c

index e9601b1..456a6e3 100644 (file)
@@ -35,7 +35,7 @@ Lisp_Object Vexecuting_macro;
 
 /* Index of next character to fetch from that macro.  */
 
-int executing_macro_index;
+EMACS_INT executing_macro_index;
 
 /* Number of successful iterations so far
    for innermost keyboard macro.
@@ -380,6 +380,9 @@ syms_of_macros ()
   DEFVAR_LISP ("executing-macro", &Vexecuting_macro,
               doc: /* Currently executing keyboard macro (string or vector); nil if none executing.  */);
 
+  DEFVAR_INT ("executing-macro-index", &executing_macro_index,
+             doc: /* Index in currently executing keyboard macro; undefined if none executing.  */);
+
   DEFVAR_LISP_NOPRO ("executing-kbd-macro", &Vexecuting_macro,
                     doc: /* Currently executing keyboard macro (string or vector); nil if none executing.  */);