(internal): fix expand-file usage in org-roam--expand-links (#866)

This commit is contained in:
Jethro Kuan
2020-06-26 14:57:27 +08:00
committed by GitHub
parent ee28b5e6b1
commit 2f13d1fe64

View File

@ -506,8 +506,7 @@ PATH should be the root from which to compute the relativity."
(when (f-relative-p link)
(delete-region (match-beginning 1)
(match-end 1))
(insert (expand-file-name
(concat dir link)))))
(insert (expand-file-name link dir))))
(buffer-string))))
(defun org-roam--get-outline-path ()