mirror of
https://github.com/vale981/doom-modeline
synced 2025-03-06 01:31:41 -05:00
Fix invalid function after compilation.
This commit is contained in:
parent
95c6bd16d9
commit
e3dcc83738
1 changed files with 2 additions and 3 deletions
|
@ -2091,9 +2091,8 @@ mouse-1: Toggle Debug on Quit"
|
||||||
(let ((total-unread-news-number 0))
|
(let ((total-unread-news-number 0))
|
||||||
(mapc (lambda (g)
|
(mapc (lambda (g)
|
||||||
(let* ((group (car g))
|
(let* ((group (car g))
|
||||||
;; `gnus-group-unread' is a macro while not a function
|
(unread (and (functionp 'gnus-group-unread) ; it's macro
|
||||||
(unread (and (bound-and-true-p gnus-group-unread)
|
(gnus-group-unread "group"))))
|
||||||
(funcall gnus-group-unread group))))
|
|
||||||
(when (and (numberp unread)
|
(when (and (numberp unread)
|
||||||
(> unread 0))
|
(> unread 0))
|
||||||
(setq total-unread-news-number (+ total-unread-news-number unread)))))
|
(setq total-unread-news-number (+ total-unread-news-number unread)))))
|
||||||
|
|
Loading…
Add table
Reference in a new issue