mirror of
https://github.com/org-roam/org-roam
synced 2025-08-01 12:17:21 -05:00
migration: proper fix for file-link replacement (#1609)
This commit is contained in:
@ -186,8 +186,7 @@ If the property is already set, replace its value."
|
|||||||
:where (= file $s1)
|
:where (= file $s1)
|
||||||
:and (= level 0)] path))))
|
:and (= level 0)] path))))
|
||||||
(set-match-data mdata)
|
(set-match-data mdata)
|
||||||
(replace-match (org-link-make-string (concat "id:" node-id)
|
(replace-match (org-link-make-string (concat "id:" node-id)) nil t)))))))
|
||||||
(regexp-quote desc)))))))))
|
|
||||||
|
|
||||||
(provide 'org-roam-migrate)
|
(provide 'org-roam-migrate)
|
||||||
;;; org-roam-migrate.el ends here
|
;;; org-roam-migrate.el ends here
|
||||||
|
Reference in New Issue
Block a user