branch: elpa/gnosis commit d4c7eb7831253ac4ca0faf05eb2feb4d93c2d6a2 Author: Thanos Apollo <pub...@thanosapollo.org> Commit: Thanos Apollo <pub...@thanosapollo.org>
modeline-mode: Only display remaining notes when >0. --- gnosis.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnosis.el b/gnosis.el index c3019a216b..1723bc90f5 100644 --- a/gnosis.el +++ b/gnosis.el @@ -2990,7 +2990,7 @@ DASHBOARD-TYPE: either Notes or Decks to display the respective dashboard." :group 'gnosis :lighter nil (setq gnosis-due-notes-total (length (gnosis-review-get-due-notes))) - (if (and gnosis-modeline-mode gnosis-due-notes-total) + (if (and gnosis-modeline-mode (> gnosis-due-notes-total 0)) (progn (add-to-list 'global-mode-string '(:eval