summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--init.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/init.el b/init.el
index 3e9fb0c..630cacd 100644
--- a/init.el
+++ b/init.el
@@ -2626,8 +2626,8 @@
(setq-local scroll-margin 12))
(add-hook 'mastodon-mode-hook #'jao-mastodon--setup)
-
- :bind (:map eww-mode-map ("T" . jao-mastodon-toot-url)))
+ (with-eval-after-load "ewww"
+ (define-key eww-mode-map (kbd "T") #'jao-mastodon-toot-url)))
(defun jao-mastodon-toot-url ()
(interactive)