This commit is contained in:
Jethro Kuan
2021-04-07 10:48:34 +08:00
parent 5b0078e79d
commit 18083cc1ed

View File

@ -259,7 +259,7 @@ ID is unused."
(cl-defun org-roam-capture--finalize-insert-link (&key id) (cl-defun org-roam-capture--finalize-insert-link (&key id)
"Insert a link to ID into the buffer where Org-capture was called. "Insert a link to ID into the buffer where Org-capture was called.
ID is the Org id of the newly captured content. ID is the Org id of the newly captured content.
This function is to be called in the org-capture finalization process." This function is to be called in the Org-capture finalization process."
(when-let* ((mkr (org-roam-capture--get :insert-at)) (when-let* ((mkr (org-roam-capture--get :insert-at))
(buf (marker-buffer mkr))) (buf (marker-buffer mkr)))
(with-current-buffer buf (with-current-buffer buf