[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master b94e7e63347: * lisp/help-mode.el (help-setup-xref): Disable outli
From: |
Juri Linkov |
Subject: |
master b94e7e63347: * lisp/help-mode.el (help-setup-xref): Disable outline-minor-mode (bug#64575). |
Date: |
Thu, 13 Jul 2023 12:39:12 -0400 (EDT) |
branch: master
commit b94e7e6334718061879c32025941f00913078230
Author: Juri Linkov <juri@linkov.net>
Commit: Juri Linkov <juri@linkov.net>
* lisp/help-mode.el (help-setup-xref): Disable outline-minor-mode
(bug#64575).
---
lisp/help-mode.el | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/lisp/help-mode.el b/lisp/help-mode.el
index bf64d032b65..b51276d5e06 100644
--- a/lisp/help-mode.el
+++ b/lisp/help-mode.el
@@ -498,6 +498,10 @@ This should be called very early, before the output buffer
is cleared,
because we want to record the \"previous\" position of point so we can
restore it properly when going back."
(with-current-buffer (help-buffer)
+ ;; Disable `outline-minor-mode' in a reused Help buffer
+ ;; created by `describe-bindings' that enables this mode.
+ (when (bound-and-true-p outline-minor-mode)
+ (outline-minor-mode -1))
(when help-xref-stack-item
(push (cons (point) help-xref-stack-item) help-xref-stack)
(setq help-xref-forward-stack nil))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master b94e7e63347: * lisp/help-mode.el (help-setup-xref): Disable outline-minor-mode (bug#64575).,
Juri Linkov <=