aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarty hiatt <martianhiatus@disroot.org>2024-10-23 18:45:43 +0200
committermarty hiatt <martianhiatus@disroot.org>2024-10-23 18:45:43 +0200
commite9d9bc3a6bbe6b54772298e9fc20c2daff963916 (patch)
treeebb053b8829cc0fa60f674c483c9b77d515f303a
parent8c6b2a484923f72b7790fbf4ef4fe8d93f74f553 (diff)
propertize grouped notif authors in help-echo
-rw-r--r--lisp/mastodon-notifications.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/mastodon-notifications.el b/lisp/mastodon-notifications.el
index b16b5a6..747ab8b 100644
--- a/lisp/mastodon-notifications.el
+++ b/lisp/mastodon-notifications.el
@@ -385,9 +385,10 @@ When DOMAIN, force inclusion of user's domain in their handle."
(propertize ;; help-echo remaining notifs authors:
(format " and %s other%s" diff (if (= 1 diff) "" "s"))
'help-echo (mapconcat (lambda (a)
- (alist-get 'username a))
+ (propertize (alist-get 'username a)
+ 'face 'mastodon-display-name-face))
(cddr accounts) ;; not first two
- " ")))))))
+ ", ")))))))
(defun mastodon-notifications--render (json)
"Display grouped notifications in JSON."