summaryrefslogtreecommitdiff
path: root/org-roam-ui.el
diff options
context:
space:
mode:
authorThomas F. K. Jorna <[email protected]>2021-10-12 22:37:17 +0200
committerThomas F. K. Jorna <[email protected]>2021-10-12 22:37:17 +0200
commit2db62debb731a623e70160d2e0f966a8dff05149 (patch)
tree0abd2b176a2067e889ecf92c7c7061f05bc5ae16 /org-roam-ui.el
parent5e24ca4fea2e4a31beb2123f328c600e83c5e7f3 (diff)
fix: (#68) allow full directories for dailies
Diffstat (limited to 'org-roam-ui.el')
-rw-r--r--org-roam-ui.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/org-roam-ui.el b/org-roam-ui.el
index 34b1c4a..954d116 100644
--- a/org-roam-ui.el
+++ b/org-roam-ui.el
@@ -415,7 +415,8 @@ unchanged."
(when (boundp 'org-roam-dailies-directory)
(websocket-send-text ws (json-encode `((type . "variables")
(data .
- (("dailyDir" . ,(concat org-roam-directory org-roam-dailies-directory))
+ (("dailyDir" . ,(if (f-absolute-p org-roam-dailies-directory) org-roam-dailies-directory
+ (concat org-roam-directory org-roam-dailies-directory)))
("roamDir" . ,org-roam-directory))))))))
(defun org-roam-ui-sql-to-alist (column-names rows)