From 2db62debb731a623e70160d2e0f966a8dff05149 Mon Sep 17 00:00:00 2001 From: "Thomas F. K. Jorna" Date: Tue, 12 Oct 2021 22:37:17 +0200 Subject: fix: (#68) allow full directories for dailies --- org-roam-ui.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'org-roam-ui.el') 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) -- cgit v1.2.3