aboutsummaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authormarty hiatt <martianhiatus [a t] riseup [d o t] net>2022-08-19 10:19:05 +0200
committermarty hiatt <martianhiatus [a t] riseup [d o t] net>2022-08-19 10:19:57 +0200
commit05c42b95f48d57ac0d06a9a5c4cd910db77f073b (patch)
treed23917284a10625fb0d58a8a3a03fb21c3ba7be8 /lisp
parentea6e9675bdfffb682f2210312eea22d7d4c0a92f (diff)
use bookmark emoji if possible
Diffstat (limited to 'lisp')
-rw-r--r--lisp/mastodon-tl.el7
1 files changed, 5 insertions, 2 deletions
diff --git a/lisp/mastodon-tl.el b/lisp/mastodon-tl.el
index 168523b..d955a5e 100644
--- a/lisp/mastodon-tl.el
+++ b/lisp/mastodon-tl.el
@@ -547,7 +547,10 @@ By default it is `mastodon-tl--byline-boosted'"
(when faved
(mastodon-tl--format-faved-or-boosted-byline "F"))
(when bookmarked
- (mastodon-tl--format-faved-or-boosted-byline "K")))
+ (mastodon-tl--format-faved-or-boosted-byline
+ (if (fontp (char-displayable-p #10r128278))
+ "🔖"
+ "K"))))
(propertize
(concat
;; we propertize help-echo format faves for author name
@@ -583,7 +586,7 @@ LETTER is a string, F for favourited, B for boosted, or K for bookmarked."
"favourited")
((equal letter "B")
"boosted")
- ((equal letter "K")
+ ((equal letter (or "🔖" "K"))
"bookmarked"))))
(format "(%s) "
(propertize letter 'face 'mastodon-boost-fave-face