]> git.eshelyaron.com Git - emacs.git/commitdiff
Use user-error in cancel-edebug-on-entry
authorLars Ingebrigtsen <larsi@gnus.org>
Sun, 20 Oct 2019 10:28:36 +0000 (12:28 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Sun, 20 Oct 2019 10:28:36 +0000 (12:28 +0200)
* lisp/emacs-lisp/edebug.el (cancel-edebug-on-entry): This is a
user-class error, so use user-error.

lisp/emacs-lisp/edebug.el

index ef138ba35f2f4775c0781d9d779cbfed2d03c1f8..ad8dddf0b33534b629a83338eca7f7cf59984a93 100644 (file)
@@ -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 "")))