aboutsummaryrefslogtreecommitdiff
path: root/lisp/mastodon-tl.el
diff options
context:
space:
mode:
authormarty hiatt <martianhiatus [a t] riseup [d o t] net>2023-08-16 12:54:13 +0200
committermarty hiatt <martianhiatus [a t] riseup [d o t] net>2023-08-16 15:35:41 +0200
commit03841b31f2a0a1b579618271d81eeecdbed062fb (patch)
treec5e5e250e8abcebc6e3872d2e24138f5f98c85f0 /lisp/mastodon-tl.el
parent6a843d3952219f4c4451d8176c51128387619058 (diff)
add defcustom: mastodon-tl--highlight-current-toot.
Diffstat (limited to 'lisp/mastodon-tl.el')
-rw-r--r--lisp/mastodon-tl.el6
1 files changed, 5 insertions, 1 deletions
diff --git a/lisp/mastodon-tl.el b/lisp/mastodon-tl.el
index 3171dd7..1d672a5 100644
--- a/lisp/mastodon-tl.el
+++ b/lisp/mastodon-tl.el
@@ -168,6 +168,10 @@ Note that you can hide replies on a one-off basis by loading a
timeline with a simple prefix argument, `C-u'."
:type '(boolean :tag "Whether to hide replies from the timelines."))
+(defcustom mastodon-tl--highlight-current-toot nil
+ "Whether to highlight the toot at point. Uses `cursor-face' special property."
+ :type '(boolean))
+
;;; VARIABLES
@@ -1318,7 +1322,7 @@ THREAD means the status will be displayed in a thread view."
toot)) ; else normal toot with reblog check
'toot-json toot
'base-toot base-toot
- 'cursor-face 'highlight)
+ 'cursor-face 'mastodon-cursor-highlight-face)
"\n")
(when mastodon-tl--display-media-p
(mastodon-media--inline-images start-pos (point)))))