diff options
author | Thanos Apollo <[email protected]> | 2024-10-06 08:34:02 +0300 |
---|---|---|
committer | Thanos Apollo <[email protected]> | 2024-10-06 08:35:00 +0300 |
commit | fd1315830e3aedf5d7cedc8410ec4f4bc2b781f0 (patch) | |
tree | 417e875c5e38e3dec5b039e5b28525884e96e40b /gnosis.el | |
parent | 0ce218ddce66dcc0d42c30bc62c94dbf093d155a (diff) |
Update docs & version bump to 0.4.4.
Diffstat (limited to 'gnosis.el')
-rw-r--r-- | gnosis.el | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -5,7 +5,7 @@ ;; Author: Thanos Apollo <[email protected]> ;; Keywords: extensions ;; URL: https://thanosapollo.org/projects/gnosis -;; Version: 0.4.4-dev +;; Version: 0.4.4 ;; Package-Requires: ((emacs "27.2") (emacsql "4.0.1") (compat "29.1.4.2") (transient "0.7.2")) @@ -2571,10 +2571,11 @@ If STRING-SECTION is nil, apply FACE to the entire STRING." :group 'gnosis :lighter nil (setq gnosis-due-notes-total (length (gnosis-review-get-due-notes))) - (if gnosis-modeline-mode + (if (and gnosis-modeline-mode gnosis-due-notes-total) (progn - (add-to-list 'global-mode-string '(:eval - (format " G:%d" gnosis-due-notes-total))) + (add-to-list 'global-mode-string + '(:eval + (format " G:%d" gnosis-due-notes-total) 'face 'warning)) (force-mode-line-update)) (setq global-mode-string (seq-remove (lambda (item) |