From eb794cc2183595a4f42be393db6b52478053000c Mon Sep 17 00:00:00 2001 From: "Thomas F. K. Jorna" Date: Fri, 15 Oct 2021 13:47:40 +0200 Subject: fix: #68 allow for tildes --- org-roam-ui.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'org-roam-ui.el') diff --git a/org-roam-ui.el b/org-roam-ui.el index 954d116..02ef09d 100644 --- a/org-roam-ui.el +++ b/org-roam-ui.el @@ -415,7 +415,7 @@ unchanged." (when (boundp 'org-roam-dailies-directory) (websocket-send-text ws (json-encode `((type . "variables") (data . - (("dailyDir" . ,(if (f-absolute-p org-roam-dailies-directory) org-roam-dailies-directory + (("dailyDir" . ,(if (f-absolute-p org-roam-dailies-directory) (expand-file-name org-roam-dailies-directory) (concat org-roam-directory org-roam-dailies-directory))) ("roamDir" . ,org-roam-directory)))))))) -- cgit v1.2.3