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)
|
||||
:and (= level 0)] path))))
|
||||
(set-match-data mdata)
|
||||
(replace-match (org-link-make-string (concat "id:" node-id)
|
||||
(regexp-quote desc)))))))))
|
||||
(replace-match (org-link-make-string (concat "id:" node-id)) nil t)))))))
|
||||
|
||||
(provide 'org-roam-migrate)
|
||||
;;; org-roam-migrate.el ends here
|
||||
|
Reference in New Issue
Block a user