summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2024-05-14 00:15:26 +0300
committerThanos Apollo <[email protected]>2024-05-14 00:15:26 +0300
commit1991525161b6fa888839e213fb25d6878a14ffa7 (patch)
treef7a4de00aabb2beb426396f203d7030b97d871c4
parent81f364ba523c36eba3c467f8affd739c3b88e7b4 (diff)
gnosis-modeline-mode: Remove run-at-time
We are updating gnosis-due-notes-total upon calling gnosis-review
-rw-r--r--gnosis.el1
1 files changed, 0 insertions, 1 deletions
diff --git a/gnosis.el b/gnosis.el
index 2ec0c4f..5931dfc 100644
--- a/gnosis.el
+++ b/gnosis.el
@@ -1925,7 +1925,6 @@ DASHBOARD-TYPE: either 'Notes' or 'Decks' to display the respective dashboard."
(and (listp item) (eq (car item) :eval)
(string-prefix-p " G:" (format "%s" (eval (cadr item))))))
global-mode-string))
- (run-at-time "5 min" 300 #'(lambda () (setq gnosis-due-notes-total (length (gnosis-review-get-due-notes)))))
(force-mode-line-update)))
(define-derived-mode gnosis-mode special-mode "Gnosis"