migration: proper fix for file-link replacement (#1609)

This commit is contained in:
Jethro Kuan
2021-07-18 23:23:04 +08:00
committed by GitHub
parent da02453ab1
commit 63450e9eaf

View File

@ -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