summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
diff options
context:
space:
mode:
authorJuri Linkov <juri@linkov.net>2019-12-13 01:47:03 +0200
committerJuri Linkov <juri@linkov.net>2019-12-13 01:47:03 +0200
commit9eaad4de02798c7d71357ac9dced9f5f8af7a9b3 (patch)
treeb285fb34ed1f19d46065cdd69a5eb4923c5c92fb /lisp/emacs-lisp
parentb5781e63cbe7e4c24e4eea3a400880857348ad19 (diff)
downloademacs-9eaad4de02798c7d71357ac9dced9f5f8af7a9b3.tar.gz
emacs-9eaad4de02798c7d71357ac9dced9f5f8af7a9b3.tar.bz2
emacs-9eaad4de02798c7d71357ac9dced9f5f8af7a9b3.zip
* lisp/emacs-lisp/edebug.el (edebug-remove-instrumentation): Use 'user-error'.
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r--lisp/emacs-lisp/edebug.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/edebug.el b/lisp/emacs-lisp/edebug.el
index d68ed966f82..04a640c82c3 100644
--- a/lisp/emacs-lisp/edebug.el
+++ b/lisp/emacs-lisp/edebug.el
@@ -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): "