summaryrefslogtreecommitdiff
path: root/gnosis.el
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2024-05-13 21:31:30 +0300
committerThanos Apollo <[email protected]>2024-05-13 21:31:30 +0300
commit81f364ba523c36eba3c467f8affd739c3b88e7b4 (patch)
tree2ed9fefe55dce925a03baddefa63921415f80c10 /gnosis.el
parent22503ad3fd9ae3d0fb062b31b91fabba7a750c0b (diff)
[fix] gnsois-db: Use defvar instead of defconst
Defconst would not allow the value to change when using gnosis-vc-pull
Diffstat (limited to 'gnosis.el')
-rw-r--r--gnosis.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnosis.el b/gnosis.el
index fa5ae95..2ec0c4f 100644
--- a/gnosis.el
+++ b/gnosis.el
@@ -112,7 +112,7 @@ When nil, the image will be displayed at its original size."
(make-directory gnosis-dir)
(make-directory gnosis-images-dir))
-(defconst gnosis-db
+(defvar gnosis-db
(emacsql-sqlite-open (expand-file-name "gnosis.db" gnosis-dir))
"Gnosis database file.")