diff options
author | Thomas F. K. Jorna <[email protected]> | 2021-10-15 13:47:40 +0200 |
---|---|---|
committer | Thomas F. K. Jorna <[email protected]> | 2021-10-15 13:47:40 +0200 |
commit | eb794cc2183595a4f42be393db6b52478053000c (patch) | |
tree | e2b7a8591153eea25debe0a1efea03e39e2f13b5 | |
parent | 660db1ee67b12cea55ce87168efd864cd5b41909 (diff) |
fix: #68 allow for tildes
-rw-r--r-- | org-roam-ui.el | 2 |
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)))))))) |