diff options
author | Thanos Apollo <[email protected]> | 2023-12-30 09:57:07 +0200 |
---|---|---|
committer | Thanos Apollo <[email protected]> | 2023-12-30 09:57:07 +0200 |
commit | b5b495e61e41cdc962b4240d8aa8a7089e3e4e64 (patch) | |
tree | 745ae98fd23ca97f8209af8a27d1b80a9024fe66 | |
parent | bbef2d27ea620caeb32e495a9c23aa786afcb1f7 (diff) |
Redo gnosis-db: emacsql-sqlite-open fix
Redo with emacsql-sqlite as emacsql-sqlite-open has proven to be buggy
-rw-r--r-- | gnosis.el | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -53,9 +53,11 @@ (defvar gnosis-images-dir (concat gnosis-dir "/" "images") "Gnosis images directory.") +(defvar gnosis-db (emacsql-sqlite (concat gnosis-dir "/" "gnosis.db")) + "Gnosis database file. + +WARNING: Do not change this value!") -(defvar gnosis-db (emacsql-sqlite-open (concat gnosis-dir "/" "gnosis.db")) - "Gnosis database.") (cl-defun gnosis-select (value table &optional (restrictions '1=1)) "Select VALUE from TABLE, optionally with RESTRICTIONS." |