]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix sqlite-mode.el build problems
authorLars Ingebrigtsen <larsi@gnus.org>
Sat, 11 Dec 2021 05:31:42 +0000 (06:31 +0100)
committerLars Ingebrigtsen <larsi@gnus.org>
Sat, 11 Dec 2021 05:31:42 +0000 (06:31 +0100)
* lisp/sqlite-mode.el (sqlite-mode-list-tables): Fix function
rename usage.

lisp/sqlite-mode.el

index 0e018b62d5d5d57a4eb8fb497787ecb844568800..9edb85b61abc451bb79dbd708e4887d872845818 100644 (file)
@@ -23,6 +23,8 @@
 
 ;;; Code:
 
+(require 'cl-lib)
+
 (defvar-keymap sqlite-mode-map
   "g" #'sqlite-mode-list-tables
   "c" #'sqlite-mode-list-columns
@@ -45,7 +47,7 @@
                   (format "*SQLite %s*" (file-name-nondirectory file))))
   (sqlite-mode)
   (setq-local sqlite--db (sqlite-open file))
-  (sqlite-list-tables))
+  (sqlite-mode-list-tables))
 
 (defun sqlite-mode-list-tables ()
   "Re-list the tables from the currently selected database."