mirror of
https://github.com/vale981/ement.el
synced 2025-03-04 17:01:39 -05:00
WIP: Mention face for unread column (badge)
This commit is contained in:
parent
d70e3a04b3
commit
7f61bf283a
1 changed files with 7 additions and 3 deletions
|
@ -218,9 +218,13 @@
|
|||
(and (equal 0 notification_count)
|
||||
(equal 0 highlight_count)))
|
||||
""
|
||||
(propertize (format #("%s:%s" 0 5 (help-echo "Notifications:Highlights"))
|
||||
notification_count highlight_count)
|
||||
'face 'highlight))))
|
||||
(concat (propertize (number-to-string notification_count)
|
||||
'face 'highlight)
|
||||
":"
|
||||
(propertize (number-to-string highlight_count)
|
||||
'face (if (zerop highlight_count)
|
||||
'default
|
||||
'ement-room-mention))))))
|
||||
|
||||
(ement-taxy-define-column #("B" 0 1 (help-echo "Buffer exists for room")) ()
|
||||
(pcase-let ((`[,(cl-struct ement-room (local (map buffer))) ,_session] item))
|
||||
|
|
Loading…
Add table
Reference in a new issue