about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--init.el9
1 files changed, 8 insertions, 1 deletions
diff --git a/init.el b/init.el index 69dc918..a009333 100644 --- a/init.el +++ b/init.el
@@ -1766,7 +1766,14 @@ browser defined in `browse-url-secondary-browser-function'."
1766 mastodon-tl--enable-relative-timestamps nil) 1766 mastodon-tl--enable-relative-timestamps nil)
1767 1767
1768 (:hook #'hl-line-mode 1768 (:hook #'hl-line-mode
1769 #'reading-mode)) 1769 #'reading-mode)
1770
1771 (defun mastodon-goto-toot@recenter ()
1772 "Recenter the current toot."
1773 (recenter -1))
1774
1775 (:advise mastodon-tl--goto-next-toot :after #'mastodon-goto-toot@recenter
1776 mastodon-tl--goto-prev-toot :after #'mastodon-goto-toot@recenter))
1770 1777
1771(setup (:straight (modus-themes 1778(setup (:straight (modus-themes
1772 :host gitlab 1779 :host gitlab