Variable: executing-kbd-macro-index

Index in currently executing keyboard macro; undefined if none executing.