[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 4b29468: Tweak erroring in sqlite-mode-delete

From: Lars Ingebrigtsen
Subject: master 4b29468: Tweak erroring in sqlite-mode-delete
Date: Sat, 11 Dec 2021 23:55:42 -0500 (EST)

branch: master
commit 4b29468dbef63f2befd7f67663a11cd5a3009b79
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>

    Tweak erroring in sqlite-mode-delete
    * lisp/sqlite-mode.el (sqlite-mode-delete): Use user-error instead
    of error for user-level stuff.
 lisp/sqlite-mode.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/sqlite-mode.el b/lisp/sqlite-mode.el
index 6b5c322..834a802 100644
--- a/lisp/sqlite-mode.el
+++ b/lisp/sqlite-mode.el
@@ -188,7 +188,7 @@
               (not (eq (car table) 'row)))
       (user-error "No row under point"))
     (unless (yes-or-no-p "Really delete the row under point? ")
-      (error "Not deleting"))
+      (user-error "Not deleting"))
      (format "delete from %s where %s"

reply via email to

[Prev in Thread] Current Thread [Next in Thread]