diff src/macros.c @ 47307:06c376f5df86

(executing_macro_index): Change type to EMACS_INT. (syms_of_macros): DEFVAR_INT it (needed by kmacro).
author Kim F. Storm <storm@cua.dk>
date Sun, 08 Sep 2002 20:28:46 +0000
parents d9b11a5b4ebf
children 7e9809c820b0
line wrap: on
line diff
--- a/src/macros.c	Sat Sep 07 22:50:58 2002 +0000
+++ b/src/macros.c	Sun Sep 08 20:28:46 2002 +0000
@@ -35,7 +35,7 @@
 
 /* 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 @@
   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.  */);