emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/org c8e8f4e3c2 06/10: org-fold--reveal-headline-at-poin


From: ELPA Syncer
Subject: [elpa] externals/org c8e8f4e3c2 06/10: org-fold--reveal-headline-at-point: Fix edge case with invisible subtree
Date: Sun, 14 May 2023 08:58:56 -0400 (EDT)

branch: externals/org
commit c8e8f4e3c2b1e0e8844a6ea60509f2de2e1e0612
Author: Ihor Radchenko <yantar92@posteo.net>
Commit: Ihor Radchenko <yantar92@posteo.net>

    org-fold--reveal-headline-at-point: Fix edge case with invisible subtree
---
 lisp/org-fold.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/org-fold.el b/lisp/org-fold.el
index 9910901139..8596720619 100644
--- a/lisp/org-fold.el
+++ b/lisp/org-fold.el
@@ -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)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]