summaryrefslogtreecommitdiffhomepage
path: root/init.el
diff options
context:
space:
mode:
Diffstat (limited to 'init.el')
-rw-r--r--init.el5
1 files changed, 5 insertions, 0 deletions
diff --git a/init.el b/init.el
index 1f7603c..5b36e72 100644
--- a/init.el
+++ b/init.el
@@ -2621,6 +2621,11 @@
mastodon-active-user "mail@jao.io"
mastodon-tl-position-after-update 'last-old-toot)
:config
+ (defun jao-mastodon--setup ()
+ (setq-local scroll-margin 12))
+
+ (add-hook 'mastodon-mode-hook #'jao-mastodon--setup)
+
:bind (:map eww-mode-map ("T" . jao-mastodon-toot-url)))
(defun jao-mastodon-toot-url ()