From 2f13d1fe64b67436b76a2362b8c5f4076979fd29 Mon Sep 17 00:00:00 2001 From: Jethro Kuan Date: Fri, 26 Jun 2020 14:57:27 +0800 Subject: [PATCH] (internal): fix expand-file usage in org-roam--expand-links (#866) --- org-roam.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/org-roam.el b/org-roam.el index 2448cba..ffd3e59 100644 --- a/org-roam.el +++ b/org-roam.el @@ -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 ()