From ddebc89afd37d20b2db501a9857c80f0fc0da17b Mon Sep 17 00:00:00 2001 From: jao Date: Sun, 22 Jan 2023 20:33:10 +0000 Subject: starting mastodon by default --- init.el | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'init.el') 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 () -- cgit v1.2.3