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.
This commit is contained in:
Lars Ingebrigtsen 2022-08-12 14:56:46 +02:00
parent a23f9b7bda
commit 95d8a4544e

View file

@ -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.