mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-08-24 19:02:52 +00:00
org-fold--reveal-headline-at-point: Fix edge case with invisible subtree
This commit is contained in:
parent
6fd6b94cd5
commit
c8e8f4e3c2
|
@ -767,7 +767,7 @@ Assume that point is located at the header line."
|
|||
(if (equal (point)
|
||||
(save-excursion
|
||||
(goto-char endl)
|
||||
(org-end-of-subtree)
|
||||
(org-end-of-subtree t)
|
||||
(skip-chars-forward "\n\t\r ")))
|
||||
(point)
|
||||
endl)))
|
||||
|
|
Loading…
Reference in a new issue