summaryrefslogtreecommitdiff
path: root/gnosis.el
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2024-03-08 08:29:49 +0200
committerThanos Apollo <[email protected]>2024-03-08 08:33:09 +0200
commit2e8d1bddd6b13de9f8f1f67006c700f6174dd917 (patch)
treeb92593969efb5adc87c261bc36d49e0d20446ebf /gnosis.el
parenta898bff27726de134941ff17f03473140db64e2b (diff)
gnosis-vc-pull: Reopen gnosis-db after pull
Diffstat (limited to 'gnosis.el')
-rw-r--r--gnosis.el5
1 files 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.