diff options
author | Eli Zaretskii <eliz@gnu.org> | 2017-10-16 19:36:06 +0300 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2017-10-16 19:36:06 +0300 |
commit | db68cefe72e5c68fa81796028a52de1b8e6480aa (patch) | |
tree | b818283761d3eff9c2c18fe55ccdc186dc180bcf /lisp/kmacro.el | |
parent | c63b344c3d5f6278a189a16099ee6310fad9fbd7 (diff) | |
download | emacs-db68cefe72e5c68fa81796028a52de1b8e6480aa.tar.gz |
Fix errors in kmacro.el post-command-hook
* lisp/kmacro.el (kmacro-step-edit-active): Initialize to nil to
avoid 'void-variable' errors. (Bug#28818)
* test/lisp/kmacro-tests.el
(kmacro-tests-step-edit-cleans-up-hook): Now succeeds. (Bug#18708)
Diffstat (limited to 'lisp/kmacro.el')
-rw-r--r-- | lisp/kmacro.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/kmacro.el b/lisp/kmacro.el index 582a58eda1c..4abc571db44 100644 --- a/lisp/kmacro.el +++ b/lisp/kmacro.el @@ -937,7 +937,7 @@ without repeating the prefix." ;;; Single-step editing of keyboard macros -(defvar kmacro-step-edit-active) ;; step-editing active +(defvar kmacro-step-edit-active nil) ;; step-editing active (defvar kmacro-step-edit-new-macro) ;; storage for new macro (defvar kmacro-step-edit-inserting) ;; inserting into macro (defvar kmacro-step-edit-appending) ;; append to end of macro |