mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-30 12:21:25 -08:00
* test/lisp/emacs-lisp/map-ynp-tests.el: Use 'eval-expression-debug-on-error'.
(test-map-ynp-kmacro): Bind 'eval-expression-debug-on-error' to nil instead of silencing 'backtrace-print'.
This commit is contained in:
parent
e54fd7c012
commit
2f6e5d2eda
1 changed files with 1 additions and 1 deletions
|
|
@ -33,7 +33,7 @@
|
|||
|
||||
(ert-deftest test-map-ynp-kmacro ()
|
||||
"Test that `map-y-or-n-p' in a kmacro terminates on end of input."
|
||||
(cl-letf* (((symbol-function #'backtrace-print) (lambda ()))) ;; bug#67836
|
||||
(let ((eval-expression-debug-on-error nil)) ;; bug#67836
|
||||
(execute-kbd-macro (read-kbd-macro "M-: (map-ynp-tests-simple-call) RET y"))
|
||||
(should-error
|
||||
(execute-kbd-macro (read-kbd-macro "M-: (map-ynp-tests-simple-call) RET")))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue