diff options
| author | marty hiatt <martianhiatus [a t] riseup [d o t] net> | 2023-08-16 12:54:13 +0200 | 
|---|---|---|
| committer | marty hiatt <martianhiatus [a t] riseup [d o t] net> | 2023-08-16 15:35:41 +0200 | 
| commit | 03841b31f2a0a1b579618271d81eeecdbed062fb (patch) | |
| tree | c5e5e250e8abcebc6e3872d2e24138f5f98c85f0 /lisp/mastodon.el | |
| parent | 6a843d3952219f4c4451d8176c51128387619058 (diff) | |
add defcustom: mastodon-tl--highlight-current-toot.
Diffstat (limited to 'lisp/mastodon.el')
| -rw-r--r-- | lisp/mastodon.el | 9 | 
1 files changed, 8 insertions, 1 deletions
| diff --git a/lisp/mastodon.el b/lisp/mastodon.el index 53986cf..84d3d1d 100644 --- a/lisp/mastodon.el +++ b/lisp/mastodon.el @@ -99,6 +99,7 @@  (autoload 'mastodon-views--view-scheduled-toots "mastodon-views")  (autoload 'special-mode "simple") +(defvar mastodon-tl--highlight-current-toot)  (defvar mastodon-notifications--map)  (defgroup mastodon nil @@ -258,6 +259,10 @@ mastodon.el needs to be re-loaded for this to be correctly set.")    "Face used for reply text in toot compose buffer.  See `mastodon-toot-display-orig-in-reply-buffer'.") +(defface mastodon-cursor-highlight-face +  `((t :inherit highlight :extend t)) +  "Face for `mastodon-tl--highlight-current-toot'.") +  ;;;###autoload  (defun mastodon ()    "Connect Mastodon client to `mastodon-instance-url' instance." @@ -401,7 +406,9 @@ Calls `mastodon-tl--get-buffer-type', which see."                                  (when (require 'emojify nil :noerror)                                    (emojify-mode t)                                    (when mastodon-toot--enable-custom-instance-emoji -                                    (mastodon-toot--enable-custom-emoji))))) +                                    (mastodon-toot--enable-custom-emoji)) +                                  (when mastodon-tl--highlight-current-toot +                                    (cursor-face-highlight-mode)))))  ;;;###autoload  (add-hook 'mastodon-mode-hook #'mastodon-profile--fetch-server-account-settings) | 
