# HG changeset patch # User Kim F. Storm # Date 1031516926 0 # Node ID 06c376f5df866ca6225b617506c1264a25fb1754 # Parent 859b95c98a17aa3a94023dbb72fb20b035815411 (executing_macro_index): Change type to EMACS_INT. (syms_of_macros): DEFVAR_INT it (needed by kmacro). diff -r 859b95c98a17 -r 06c376f5df86 src/macros.c --- 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. */);