From fd5793319cf54ba58f8ac92575d72ad50785e999 Mon Sep 17 00:00:00 2001 From: Thanos Apollo Date: Mon, 4 Mar 2024 08:30:23 +0200 Subject: gnosis-vc-pull: Re-open gnosis-db after pull --- gnosis.el | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gnosis.el b/gnosis.el index 8cee7fb..46f0e13 100644 --- a/gnosis.el +++ b/gnosis.el @@ -1135,7 +1135,10 @@ Used to reveal all clozes left with `gnosis-face-cloze-unanswered' face." "Run `vc-pull' in DIR." (interactive) (let ((default-directory dir)) - (vc-pull))) + (vc-pull) + (setf gnosis-db + (emacsql-sqlite-open + (expand-file-name "gnosis.db" gnosis-dir))))) (defun gnosis-review-commit (note-num) "Commit review session on git repository. -- cgit v1.2.3