summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gnosis.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/gnosis.el b/gnosis.el
index da4848b..3bb4ef8 100644
--- a/gnosis.el
+++ b/gnosis.el
@@ -7,7 +7,7 @@
;; URL: https://git.thanosapollo.org/gnosis
;; Version: 0.0.1
-;; Package-Requires: ((emacs "27.2") (compat "29.1.4.2"))
+;; Package-Requires: ((emacs "27.2") (compat "29.1.4.2") (emacsql "20230228"))
;; This program is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
@@ -56,7 +56,7 @@
(make-directory gnosis-dir)
(make-directory gnosis-images-dir))
-(defvar gnosis-db (emacsql-sqlite (concat gnosis-dir "/" "gnosis.db"))
+(defvar gnosis-db (emacsql-sqlite-open (concat gnosis-dir "/" "gnosis.db"))
"Gnosis database.")
(cl-defun gnosis--select (value table &optional (restrictions '1=1))