fix lints

This commit is contained in:
Jethro Kuan
2021-04-07 10:14:40 +08:00
parent 5a3363ac22
commit 5b0078e79d

View File

@ -252,12 +252,12 @@ the capture)."
(cl-defun org-roam-capture--finalize-find-file (&key id) (cl-defun org-roam-capture--finalize-find-file (&key id)
"Visit the buffer after Org-capture is done. "Visit the buffer after Org-capture is done.
This function is to be called in the org-capture finalization process. This function is to be called in the Org-capture finalization process.
ID is unused." ID is unused."
(switch-to-buffer (org-capture-get :buffer))) (switch-to-buffer (org-capture-get :buffer)))
(cl-defun org-roam-capture--finalize-insert-link (&key id) (cl-defun org-roam-capture--finalize-insert-link (&key id)
"Inserts the link 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))