aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Tom Willemse2026-07-07 14:34:35 -0700
committerGravatar Tom Willemse2026-07-07 14:34:35 -0700
commitb5624181553224003cfe1114d131daf219cb3c4f (patch)
tree828c193ca269d8f037d01b3b401712fe729e3a73
parent58277a18d6cf3a5b27a496c66661242b484bb8f8 (diff)
downloademacs-config-b5624181553224003cfe1114d131daf219cb3c4f.tar.gz
emacs-config-b5624181553224003cfe1114d131daf219cb3c4f.zip
oni-eww: Enable outline-minor-mode
By default eww comes with outline mode support, it's just not enabled. With this enabled I can now toggle visibility for headlines.
-rw-r--r--oni-eww.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/oni-eww.el b/oni-eww.el
index e25c101..e36b9bf 100644
--- a/oni-eww.el
+++ b/oni-eww.el
@@ -4,7 +4,7 @@
;; Author: Tom Willemse <tom@ryuslash.org>
;; Keywords: local
-;; Version: 2026.0702.122840
+;; Version: 2026.0702.170337
;; Package-Requires: (eww oni-data-dir)
;; This program is free software; you can redistribute it and/or modify
@@ -57,6 +57,7 @@ Delete all other windows and then pass BUFFER and ALIST on to
`(,(rx string-start "*eww*" string-end) oni-eww-display-buffer-in-only-window))
(add-hook 'eww-mode-hook #'oni-eww-setup-margins)
+(add-hook 'eww-mode-hook #'outline-minor-mode)
(provide 'oni-eww)
;;; oni-eww.el ends here