From b5624181553224003cfe1114d131daf219cb3c4f Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Tue, 7 Jul 2026 14:34:35 -0700 Subject: 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. --- oni-eww.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 ;; 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 -- cgit v1.3-2-g0d8e