summaryrefslogtreecommitdiff
path: root/lisp/kmacro.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/kmacro.el')
-rw-r--r--lisp/kmacro.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/kmacro.el b/lisp/kmacro.el
index eab099fa03..d06e3c02e1 100644
--- a/lisp/kmacro.el
+++ b/lisp/kmacro.el
@@ -1196,7 +1196,7 @@ following additional answers: `insert', `insert-1', `replace', `replace-1',
(setq this-command 'ignore)
(setq this-command cmd)
(if (memq this-command '(self-insert-command digit-argument))
- (setq last-command-char (aref keys (1- (length keys)))))
+ (setq last-command-event (aref keys (1- (length keys)))))
(if keys
(setq kmacro-step-edit-new-macro (vconcat kmacro-step-edit-new-macro keys))))
(setq kmacro-step-edit-key-index next-index)))