From: Juri Linkov Date: Thu, 12 Dec 2019 23:47:03 +0000 (+0200) Subject: * lisp/emacs-lisp/edebug.el (edebug-remove-instrumentation): Use 'user-error'. X-Git-Tag: emacs-27.0.90~365 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=9eaad4de02798c7d71357ac9dced9f5f8af7a9b3;p=emacs.git * lisp/emacs-lisp/edebug.el (edebug-remove-instrumentation): Use 'user-error'. --- 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): "