diff --git a/CHANGELOG.md b/CHANGELOG.md index 5c1a1dc..0bb045c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,7 @@ - [#1795](https://github.com/org-roam/org-roam/pull/1795) buffer: optimized reflinks fetch ### Fixed +- [#1798](https://github.com/org-roam/org-roam/pull/1798) org-roam-node-at-point: do not skip invisible headings ## 2.1.0 ### Added diff --git a/org-roam-node.el b/org-roam-node.el index 0a9cf90..07db362 100644 --- a/org-roam-node.el +++ b/org-roam-node.el @@ -180,7 +180,7 @@ populated." (magit-section-up) (org-roam-node-at-point))) (t (org-with-wide-buffer - (org-back-to-heading-or-point-min) + (org-back-to-heading-or-point-min t) (while (and (not (org-roam-db-node-p)) (not (bobp))) (org-roam-up-heading-or-point-min)) @@ -827,7 +827,7 @@ If region is active, then use it instead of the node at point." "Convert current subtree at point to a node, and extract it into a new file." (interactive) (save-excursion - (org-back-to-heading-or-point-min) + (org-back-to-heading-or-point-min t) (when (bobp) (user-error "Already a top-level node")) (org-id-get-create) (save-buffer) @@ -865,7 +865,7 @@ If region is active, then use it instead of the node at point." Recursively traverses up the headline tree to find the first encapsulating ID." (org-with-wide-buffer - (org-back-to-heading-or-point-min) + (org-back-to-heading-or-point-min t) (while (and (not (org-roam-db-node-p)) (not (bobp))) (org-roam-up-heading-or-point-min))