about summary refs log tree commit diff stats
path: root/init.el
diff options
context:
space:
mode:
authorCase Duckworth2022-04-12 22:40:37 -0500
committerCase Duckworth2022-04-12 22:40:37 -0500
commitca1823d2b29227c6e83fe951d7fe7699cf84d6f5 (patch)
tree54f98c0e145be70393175dd885ce036b7b194c7c /init.el
parentConfigure undoes (diff)
downloademacs-ca1823d2b29227c6e83fe951d7fe7699cf84d6f5.tar.gz
emacs-ca1823d2b29227c6e83fe951d7fe7699cf84d6f5.zip
Add shr-heading from oantolin
Diffstat (limited to 'init.el')
-rw-r--r--init.el6
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)