From 81f364ba523c36eba3c467f8affd739c3b88e7b4 Mon Sep 17 00:00:00 2001 From: Thanos Apollo Date: Mon, 13 May 2024 21:31:30 +0300 Subject: [fix] gnsois-db: Use defvar instead of defconst Defconst would not allow the value to change when using gnosis-vc-pull --- gnosis.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.") -- cgit v1.2.3