1
Fork 0
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:
Juri Linkov 2025-11-05 09:14:43 +02:00
parent e54fd7c012
commit 2f6e5d2eda

View file

@ -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")))