mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-17 10:27:41 +00:00
Add confirmation to sqlite-mode-delete
* lisp/sqlite-mode.el (sqlite-mode-delete): Add confirmation.
This commit is contained in:
parent
d727796e1f
commit
cabb049a50
1 changed files with 2 additions and 0 deletions
|
|
@ -187,6 +187,8 @@
|
|||
(when (or (not (consp table))
|
||||
(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"))
|
||||
(sqlite-execute
|
||||
sqlite--db
|
||||
(format "delete from %s where %s"
|
||||
|
|
|
|||
Loading…
Reference in a new issue