diff options
author | Thanos Apollo <[email protected]> | 2024-03-08 08:29:49 +0200 |
---|---|---|
committer | Thanos Apollo <[email protected]> | 2024-03-08 08:33:09 +0200 |
commit | 2e8d1bddd6b13de9f8f1f67006c700f6174dd917 (patch) | |
tree | b92593969efb5adc87c261bc36d49e0d20446ebf | |
parent | a898bff27726de134941ff17f03473140db64e2b (diff) |
gnosis-vc-pull: Reopen gnosis-db after pull
-rw-r--r-- | gnosis.el | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -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. |