From: Lars Ingebrigtsen Date: Sun, 20 Oct 2019 10:28:36 +0000 (+0200) Subject: Use user-error in cancel-edebug-on-entry X-Git-Tag: emacs-27.0.90~966 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=665208ce59fe564a17320327763a9c43d7132c0d;p=emacs.git Use user-error in cancel-edebug-on-entry * lisp/emacs-lisp/edebug.el (cancel-edebug-on-entry): This is a user-class error, so use user-error. --- diff --git a/lisp/emacs-lisp/edebug.el b/lisp/emacs-lisp/edebug.el index ef138ba35f2..ad8dddf0b33 100644 --- a/lisp/emacs-lisp/edebug.el +++ b/lisp/emacs-lisp/edebug.el @@ -3474,7 +3474,7 @@ The removes the effect of `edebug-on-entry'." (push symbol functions))) obarray) (unless functions - (error "No functions have `edebug-on-entry'.")) + (user-error "No functions have `edebug-on-entry'")) functions)))) (when (and name (not (equal name "")))