summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2017-10-16 19:36:06 +0300
committerEli Zaretskii <eliz@gnu.org>2017-10-16 19:36:06 +0300
commitdb68cefe72e5c68fa81796028a52de1b8e6480aa (patch)
treeb818283761d3eff9c2c18fe55ccdc186dc180bcf /test
parentc63b344c3d5f6278a189a16099ee6310fad9fbd7 (diff)
downloademacs-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 'test')
-rw-r--r--test/lisp/kmacro-tests.el1
1 files changed, 0 insertions, 1 deletions
diff --git a/test/lisp/kmacro-tests.el b/test/lisp/kmacro-tests.el
index 9f3eeafe486..690d5029231 100644
--- a/test/lisp/kmacro-tests.el
+++ b/test/lisp/kmacro-tests.el
@@ -818,7 +818,6 @@ This is a regression for item 7 in Bug#24991."
(kmacro-tests-deftest kmacro-tests-step-edit-cleans-up-hook ()
"Step-editing properly cleans up `post-command-hook.' (Bug #18708)"
- (:expected-result :failed)
(let (post-command-hook)
(setq-local post-command-hook '(t))
(kmacro-tests-run-step-edit "x"