branch: elpa/gnosis
commit 679263c1c56c88a9b5df155733225ddaa129c230
Author: Thanos Apollo <[email protected]>
Commit: Thanos Apollo <[email protected]>

    [fix] make gnosis-db as defvar.
    
    * Using a defconst for a db connection we have to regularly update is
      a mistake.
---
 gnosis.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnosis.el b/gnosis.el
index 0dbe118f1a..e41ca08f82 100644
--- a/gnosis.el
+++ b/gnosis.el
@@ -160,7 +160,7 @@ This is set automatically based on buffer type:
   '((t :inherit bold))
   "Face for next review.")
 
-(defconst gnosis-db
+(defvar gnosis-db
   (emacsql-sqlite-open (expand-file-name "gnosis.db" gnosis-dir))
   "Gnosis database.")
 

Reply via email to