From 03841b31f2a0a1b579618271d81eeecdbed062fb Mon Sep 17 00:00:00 2001 From: marty hiatt Date: Wed, 16 Aug 2023 12:54:13 +0200 Subject: add defcustom: mastodon-tl--highlight-current-toot. --- lisp/mastodon-tl.el | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'lisp/mastodon-tl.el') 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))))) -- cgit v1.2.3