Commit 95d8a454 authored by Lars Ingebrigtsen's avatar Lars Ingebrigtsen
Browse files

Default outline-minor-mode-use-buttons to only happen in *Help*

* lisp/outline.el (outline-minor-mode-use-buttons): Change the
default to only use buttons in the *Help* buffer (for now),
because it's too disruptive in other modes.  This will probably be
changed again to have some other mechanism to opt in in certain
modes, but it's not clear what that mechanism should look like.
parent a23f9b7b
Pipeline #19886 passed with stage
in 3 minutes and 36 seconds
......@@ -281,7 +281,7 @@ This option is only in effect when `outline-minor-mode-cycle' is non-nil."
[outline-1 outline-2 outline-3 outline-4
outline-5 outline-6 outline-7 outline-8])
(defcustom outline-minor-mode-use-buttons '(derived-mode . special-mode)
(defcustom outline-minor-mode-use-buttons '(derived-mode . help-mode)
"Whether to display clickable buttons on the headings.
The value should be a `buffer-match-p' condition.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment