aboutsummaryrefslogtreecommitdiffstats
path: root/oni-eww.el
diff options
context:
space:
mode:
Diffstat (limited to 'oni-eww.el')
-rw-r--r--oni-eww.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/oni-eww.el b/oni-eww.el
index 41e9f52..e36b9bf 100644
--- a/oni-eww.el
+++ b/oni-eww.el
@@ -4,7 +4,7 @@
;; Author: Tom Willemse <tom@ryuslash.org>
;; Keywords: local
-;; Version: 2026.0429.164233
+;; Version: 2026.0702.170337
;; Package-Requires: (eww oni-data-dir)
;; This program is free software; you can redistribute it and/or modify
@@ -27,6 +27,7 @@
;;; Code:
(require 'eww)
+(require 'oni-data-dir)
(defvar oni-eww-desired-window-width 120
"The window width which ‘oni-eww-resize-margins’ will try to accommodate.")
@@ -56,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