mirror of
https://github.com/org-roam/org-roam
synced 2025-08-01 12:17:21 -05:00
(fix): do not kill temp buffer when extracting links for file (#1193)
Otherwise it breaks `org-roam-db-build-cache` as it relies on temporary buffer. Without keeping the buffer, `org-roam--extract-links` kills it and any further functionality of file processing breaks.
This commit is contained in:
@ -598,7 +598,7 @@ it as FILE-PATH."
|
||||
:point begin))
|
||||
(names (pcase type
|
||||
("id"
|
||||
(list (car (org-roam-id-find path))))
|
||||
(list (car (org-roam-id-find path nil nil 'keep-buffer))))
|
||||
("cite" (list path))
|
||||
("website" (list path))
|
||||
("fuzzy" (list path))
|
||||
|
Reference in New Issue
Block a user