summaryrefslogtreecommitdiff
path: root/gnosis.el
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2024-05-11 00:36:03 +0300
committerThanos Apollo <[email protected]>2024-05-11 00:36:03 +0300
commit22503ad3fd9ae3d0fb062b31b91fabba7a750c0b (patch)
tree1004b35e6d90de920f174d7dda76497452217432 /gnosis.el
parent5e2c02847f2b87874c00d31d596e48460b2d4c66 (diff)
gnosis-review: Refresh modeline
Diffstat (limited to 'gnosis.el')
-rw-r--r--gnosis.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/gnosis.el b/gnosis.el
index 5ce56d4..fa5ae95 100644
--- a/gnosis.el
+++ b/gnosis.el
@@ -1619,6 +1619,8 @@ to improve readability."
(defun gnosis-review ()
"Start gnosis review session."
(interactive)
+ ;; Refresh modeline
+ (setq gnosis-due-notes-total (length (gnosis-review-get-due-notes)))
(let ((review-type (funcall gnosis-completing-read-function "Review: " '("Due notes"
"Due notes of deck"
"Due notes of specified tag(s)"