From: Lars Ingebrigtsen Date: Sat, 11 Dec 2021 07:18:02 +0000 (+0100) Subject: Add FIXME comment X-Git-Tag: emacs-29.0.90~3604^2~9 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=5d476a9ed892e390e05eab73e7b57a4b879a1780;p=emacs.git Add FIXME comment * lisp/sqlite-mode.el (sqlite-mode-delete): New command. (sqlite--mode--list-data, sqlite-mode-list-data): Adjust to new command. --- diff --git a/lisp/sqlite-mode.el b/lisp/sqlite-mode.el index 5e0410e4830..48916b23116 100644 --- a/lisp/sqlite-mode.el +++ b/lisp/sqlite-mode.el @@ -178,7 +178,10 @@ (when (or (not (consp table)) (not (eq (car table) 'row))) (user-error "No row under point")) - ;; We have to remove all open statements before we can delete something. + ;; We have to remove all open statements before we can delete + ;; something. FIXME -- perhaps this should be changed not to use + ;; long-lived statements, since this presumably locks the file for + ;; other users, too. (dolist (stmt sqlite-mode--statements) (ignore-errors (sqlite-finalize stmt))) (setq sqlite-mode--statements nil)