org-cycle-set-visibility-according-to-property: Fix folded newline before
* lisp/org-cycle.el (org-cycle-set-visibility-according-to-property): Make sure that folded newline before heading is revealed. Reported-by: Daniel Hubmann <hubisan@gmail.com> Link: https://orgmode.org/list/CAOX7s=3NTjpvnFDfwBdozLbLCWANLbCCyCbQNOnNsnMqqFEF3g@mail.gmail.com
This commit is contained in:
parent
af1bb1b06a
commit
be9280f68b
|
@ -648,6 +648,9 @@ With a numeric prefix, show all headlines up to that level."
|
|||
(org-fold-show-hidden-entry)
|
||||
(org-fold-show-children))
|
||||
("content"
|
||||
;; Newline before heading will be outside the
|
||||
;; narrowing. Make sure that it is revealed.
|
||||
(org-fold-heading nil)
|
||||
(save-excursion
|
||||
(save-restriction
|
||||
(org-narrow-to-subtree)
|
||||
|
|
Loading…
Reference in New Issue