diff options
-rw-r--r-- | init.el | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/init.el b/init.el index 0a5a4fa..b38e4e8 100644 --- a/init.el +++ b/init.el | |||
@@ -780,8 +780,12 @@ | |||
780 | (add-hook 'kill-buffer-query-functions #'+scratch-immortal)) | 780 | (add-hook 'kill-buffer-query-functions #'+scratch-immortal)) |
781 | 781 | ||
782 | (setup shr | 782 | (setup shr |
783 | (:also-load +shr) | ||
783 | (:option shr-width (- fill-column 5) ; pad out for wide letters | 784 | (:option shr-width (- fill-column 5) ; pad out for wide letters |
784 | shr-use-fonts t)) | 785 | shr-use-fonts t) |
786 | (dolist (mode '(eww-mode | ||
787 | elfeed-show-mode)) | ||
788 | (add-hook (intern (format "%s-hook" mode)) #'+shr-heading-setup-imenu))) | ||
785 | 789 | ||
786 | (setup tab-bar | 790 | (setup tab-bar |
787 | (:require +tab-bar) | 791 | (:require +tab-bar) |