summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2023-01-22 20:33:10 +0000
committerjao <jao@gnu.org>2023-01-22 20:33:10 +0000
commitddebc89afd37d20b2db501a9857c80f0fc0da17b (patch)
treeaef2c68382d5ec2bc6114d1872b94b12fd6f6801
parent84f1c46e3009a3123b3173f261b79c892f0e0d8b (diff)
downloadelibs-ddebc89afd37d20b2db501a9857c80f0fc0da17b.tar.gz
elibs-ddebc89afd37d20b2db501a9857c80f0fc0da17b.tar.bz2
starting mastodon by default
-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 ()