summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2024-01-27 07:25:45 +0200
committerThanos Apollo <[email protected]>2024-01-27 07:25:45 +0200
commit359da18eb17545a98abb7be0d5bb803338a810de (patch)
treebb71ff1872d3ae902016df7a34d5f5376df1fae9
parentf9d4039ac7783219de88a25df9767f9cf0a4aecc (diff)
gnosis-db: adjust for emacsql 4.0.0
Use emacsql-sqlite-open as suggested in this issue: <https://github.com/magit/emacsql/issues/113>
-rw-r--r--gnosis.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnosis.el b/gnosis.el
index 1f330cd..7890b73 100644
--- a/gnosis.el
+++ b/gnosis.el
@@ -74,7 +74,7 @@
(make-directory gnosis-images-dir))
(defconst gnosis-db
- (emacsql-sqlite (expand-file-name "gnosis.db" gnosis-dir))
+ (emacsql-sqlite-open (expand-file-name "gnosis.db" gnosis-dir))
"Gnosis database file.")
(defvar gnosis-testing nil