summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2024-03-04 08:30:23 +0200
committerThanos Apollo <[email protected]>2024-03-05 03:51:25 +0200
commitfd5793319cf54ba58f8ac92575d72ad50785e999 (patch)
tree22c27bcaad90db55c9d2feaca3b9f7200681bcac
parentf2fe739076e095e4c701593fc1978a6268a0d3a0 (diff)
gnosis-vc-pull: Re-open gnosis-db after pull
-rw-r--r--gnosis.el5
1 files changed, 4 insertions, 1 deletions
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.