From 665208ce59fe564a17320327763a9c43d7132c0d Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Sun, 20 Oct 2019 12:28:36 +0200 Subject: [PATCH] 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. --- lisp/emacs-lisp/edebug.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ""))) -- 2.39.2