]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/emacs-lisp/edebug.el (edebug-remove-instrumentation): Use 'user-error'.
authorJuri Linkov <juri@linkov.net>
Thu, 12 Dec 2019 23:47:03 +0000 (01:47 +0200)
committerJuri Linkov <juri@linkov.net>
Thu, 12 Dec 2019 23:47:03 +0000 (01:47 +0200)
lisp/emacs-lisp/edebug.el

index d68ed966f8230085ca444b8395fbb436f4f71446..04a640c82c387f8eaf0b0c9038cca180a5044a88 100644 (file)
@@ -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): "