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:
@ -8,7 +8,8 @@
|
|||||||
|
|
||||||
### Bugfixes
|
### Bugfixes
|
||||||
|
|
||||||
- [#1074](https://github.com/org-roam/org-roam/issues/1074) fix `org-roam--extract-links` to handle content boundaries
|
- [#1074](https://github.com/org-roam/org-roam/issues/1074) fix `org-roam--extract-links` to handle content boundaries.
|
||||||
|
- [#1193](https://github.com/org-roam/org-roam/issues/1193) fix `org-roam-db-build-cache` by not killing temporary buffer in `org-roam--extract-links`.
|
||||||
|
|
||||||
## 1.2.2 (06-10-2020)
|
## 1.2.2 (06-10-2020)
|
||||||
|
|
||||||
|
@ -598,7 +598,7 @@ it as FILE-PATH."
|
|||||||
:point begin))
|
:point begin))
|
||||||
(names (pcase type
|
(names (pcase type
|
||||||
("id"
|
("id"
|
||||||
(list (car (org-roam-id-find path))))
|
(list (car (org-roam-id-find path nil nil 'keep-buffer))))
|
||||||
("cite" (list path))
|
("cite" (list path))
|
||||||
("website" (list path))
|
("website" (list path))
|
||||||
("fuzzy" (list path))
|
("fuzzy" (list path))
|
||||||
|
Reference in New Issue
Block a user