0
0
Fork 1
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:
Ihor Radchenko 2023-05-04 21:53:30 +02:00
parent 6fd6b94cd5
commit c8e8f4e3c2
No known key found for this signature in database
GPG key ID: 6470762A7DA11D8B

View file

@ -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)))