[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 0b0a8dab68: * lisp/outline.el (outline-minor-mode-cycle--bind): F
From: |
Juri Linkov |
Subject: |
master 0b0a8dab68: * lisp/outline.el (outline-minor-mode-cycle--bind): Fix outline-on-heading-p. |
Date: |
Tue, 11 Jan 2022 03:57:30 -0500 (EST) |
branch: master
commit 0b0a8dab6817a974eb8d7baf18efe9fb5dc99c2b
Author: Juri Linkov <juri@linkov.net>
Commit: Juri Linkov <juri@linkov.net>
* lisp/outline.el (outline-minor-mode-cycle--bind): Fix
outline-on-heading-p.
When calling outline-on-heading-p, set its argument INVISIBLE-OK to t,
so when <backtab> (bound to outline-cycle-buffer) hides the current outline
at a deep level, <backtab> should continue cycling outlines even when
the current outline heading is invisible. It worked this way before
the recent change that moved cycling keys from font-lock text properties
to outline-minor-mode keymap with :filter.
---
lisp/outline.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lisp/outline.el b/lisp/outline.el
index 7a42cdc532..4027142c94 100644
--- a/lisp/outline.el
+++ b/lisp/outline.el
@@ -197,7 +197,7 @@ in the file it applies to.")
,(or filter
(lambda (cmd)
(when (and outline-minor-mode-cycle
- (outline-on-heading-p)
+ (outline-on-heading-p t)
(or (not (functionp outline-minor-mode-cycle-filter))
(funcall outline-minor-mode-cycle-filter)))
cmd))))))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 0b0a8dab68: * lisp/outline.el (outline-minor-mode-cycle--bind): Fix outline-on-heading-p.,
Juri Linkov <=