mirror of
https://github.com/org-roam/org-roam
synced 2025-08-19 13:43:31 -05:00
fix org-roam-capture--goto-location (#1514)
Fix regression introduced in 7ed51329
.
The function should return an ID.
This commit is contained in:
committed by
GitHub
parent
377d39bfff
commit
32c0f3d2ec
@@ -570,8 +570,9 @@ Return the ID of the location."
|
||||
(org-end-of-subtree t t))))
|
||||
(save-excursion
|
||||
(goto-char p)
|
||||
(prog1
|
||||
(org-id-get-create)
|
||||
(run-hooks 'org-roam-capture-new-node-hook))))
|
||||
(run-hooks 'org-roam-capture-new-node-hook)))))
|
||||
|
||||
(defun org-roam-capture-find-or-create-olp (olp)
|
||||
"Return a marker pointing to the entry at OLP in the current buffer.
|
||||
|
Reference in New Issue
Block a user