From 9eaad4de02798c7d71357ac9dced9f5f8af7a9b3 Mon Sep 17 00:00:00 2001 From: Juri Linkov Date: Fri, 13 Dec 2019 01:47:03 +0200 Subject: [PATCH] * lisp/emacs-lisp/edebug.el (edebug-remove-instrumentation): 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 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): " -- 2.39.2