From 2e8d1bddd6b13de9f8f1f67006c700f6174dd917 Mon Sep 17 00:00:00 2001 From: Thanos Apollo Date: Fri, 8 Mar 2024 08:29:49 +0200 Subject: gnosis-vc-pull: Reopen gnosis-db after pull --- gnosis.el | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/gnosis.el b/gnosis.el index eead209..b2c2e40 100644 --- a/gnosis.el +++ b/gnosis.el @@ -1162,9 +1162,8 @@ Used to reveal all clozes left with `gnosis-face-cloze-unanswered' face." (interactive) (let ((default-directory dir)) (vc-pull) - (setf gnosis-db - (emacsql-sqlite-open - (expand-file-name "gnosis.db" gnosis-dir))))) + ;; Reopen gnosis-db after pull + (setf gnosis-db (emacsql-sqlite-open (expand-file-name "gnosis.db" dir))))) (defun gnosis-review-commit (note-num) "Commit review session on git repository. -- cgit v1.2.3