summaryrefslogtreecommitdiff
path: root/org-roam-ui.el
diff options
context:
space:
mode:
Diffstat (limited to 'org-roam-ui.el')
-rw-r--r--org-roam-ui.el2
1 files changed, 1 insertions, 1 deletions
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))))))))