summaryrefslogtreecommitdiff
path: root/gnosis.el
diff options
context:
space:
mode:
Diffstat (limited to 'gnosis.el')
-rw-r--r--gnosis.el6
1 files changed, 4 insertions, 2 deletions
diff --git a/gnosis.el b/gnosis.el
index da3f7b5..c576cfd 100644
--- a/gnosis.el
+++ b/gnosis.el
@@ -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."