branch: externals/org-remark
commit 2b68d4748c74085550cd41cfe4a3297254436bbf
Merge: af03b2103e 91a56a77d1
Author: Noboru Ota <m...@nobiot.com>
Commit: Noboru Ota <m...@nobiot.com>

    Merge branch 'main' into dev/line-highlight
---
 org-remark.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/org-remark.el b/org-remark.el
index a272214ba8..57515240e0 100644
--- a/org-remark.el
+++ b/org-remark.el
@@ -1483,7 +1483,7 @@ highlight is a property list in the following properties:
              (org-show-children)
              ;; Headline levels now can be dynamically changed via
              ;; highlight-constructors.
-             (while (not (org-next-visible-heading 1))
+             (while (org-at-heading-p (org-next-visible-heading 1))
                (let ((id (org-entry-get (point) org-remark-prop-id))
                      (beg (org-entry-get (point)
                                          org-remark-prop-source-beg))

Reply via email to