1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

* lisp/emacs-lisp/edebug.el (edebug-remove-instrumentation): Use 'user-error'.

This commit is contained in:
Juri Linkov 2019-12-13 01:47:03 +02:00
parent b5781e63cb
commit 9eaad4de02

View file

@ -4603,7 +4603,7 @@ instrumentation for, defaulting to all functions."
(push symbol functions)))
obarray)
(unless functions
(error "Found no functions to remove instrumentation from"))
(user-error "Found no functions to remove instrumentation from"))
(let ((name
(completing-read
"Remove instrumentation from (default all functions): "