mirror of
https://github.com/org-roam/org-roam
synced 2025-08-01 12:17:21 -05:00
(internal): small refactor (#340)
This commit is contained in:
@ -1009,7 +1009,7 @@ This is added as a hook to `org-capture-after-finalize-hook'."
|
||||
"Opens the newly created template file.
|
||||
This is added as a hook to `org-capture-after-finalize-hook'."
|
||||
(when-let ((file-path (org-roam--capture-get :file-path)))
|
||||
(when (not org-note-abort)
|
||||
(unless org-note-abort
|
||||
(find-file file-path)))
|
||||
(remove-hook 'org-capture-after-finalize-hook #'org-roam--capture-find-file-h))
|
||||
|
||||
|
Reference in New Issue
Block a user