mirror of
https://github.com/org-roam/org-roam
synced 2025-08-01 12:17:21 -05:00
@ -278,7 +278,7 @@ first encapsulating ID."
|
|||||||
"Insert the file-level node into the Org-roam cache."
|
"Insert the file-level node into the Org-roam cache."
|
||||||
(org-with-point-at 1
|
(org-with-point-at 1
|
||||||
(when-let ((id (org-id-get)))
|
(when-let ((id (org-id-get)))
|
||||||
(let ((file (buffer-file-name (buffer-base-buffer)))
|
(let* ((file (buffer-file-name (buffer-base-buffer)))
|
||||||
(title (or (cadr (assoc "TITLE" (org-collect-keywords '("title"))
|
(title (or (cadr (assoc "TITLE" (org-collect-keywords '("title"))
|
||||||
#'string-equal))
|
#'string-equal))
|
||||||
(file-relative-name file org-roam-directory)))
|
(file-relative-name file org-roam-directory)))
|
||||||
|
Reference in New Issue
Block a user