From 95d8a4544ec097058d908235060f6fcbf63cf643 Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Fri, 12 Aug 2022 14:56:46 +0200 Subject: [PATCH] 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. --- lisp/outline.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. -- 2.39.5