summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--init.el6
1 files changed, 4 insertions, 2 deletions
diff --git a/init.el b/init.el
index 5728d91..c674d0c 100644
--- a/init.el
+++ b/init.el
@@ -2295,12 +2295,14 @@
(setq c-type-finder-time-slot nil)
;;;; outline minor mode
+(use-package outline
+ :init (setq outline-minor-mode-use-buttons nil
+ outline-minor-mode-cycle t))
+
(defvar-local jao-outline-folded nil)
(dolist (v '(4 5 outline-show-only-headings))
(add-to-list 'safe-local-variable-values `(outline-default-state . ,v)))
-(setq outline-minor-mode-cycle t)
-
(defun jao-outline-minor-mode-hide-all (&optional arg)
(interactive "P")
(hide-sublevels (if arg 5 4)))