From: Lars Ingebrigtsen Date: Fri, 12 Aug 2022 12:56:46 +0000 (+0200) Subject: Default outline-minor-mode-use-buttons to only happen in *Help* X-Git-Tag: emacs-29.0.90~1447^2~227 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=95d8a4544ec097058d908235060f6fcbf63cf643;p=emacs.git 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. --- diff --git a/lisp/outline.el b/lisp/outline.el index 8132043097e..bb62c573c40 100644 --- a/lisp/outline.el +++ b/lisp/outline.el @@ -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.