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.el5
1 files changed, 5 insertions, 0 deletions
diff --git a/org-roam-ui.el b/org-roam-ui.el
index c56ca6f..4ac0ff4 100644
--- a/org-roam-ui.el
+++ b/org-roam-ui.el
@@ -584,6 +584,9 @@ from all other links."
(attach-dir (if (boundp 'org-attach-id-dir)
org-attach-id-dir
(expand-file-name ".attach/" org-directory)))
+ (use-inheritance (if (boundp 'org-attach-use-inheritance)
+ org-attach-use-inheritance
+ nil))
(sub-dirs (org-roam-ui-find-subdirectories)))
(websocket-send-text org-roam-ui-ws-socket
(json-encode
@@ -595,6 +598,8 @@ from all other links."
,daily-dir)
("attachDir" .
,attach-dir)
+ ("useInheritance" .
+ ,use-inheritance)
("roamDir" . ,org-roam-directory)
("katexMacros" . ,org-roam-ui-latex-macros))))))))