summaryrefslogtreecommitdiff
path: root/org-roam-ui.el
diff options
context:
space:
mode:
authorThomas F. K. Jorna <[email protected]>2022-07-13 13:23:57 +0200
committerGitHub <[email protected]>2022-07-13 13:23:57 +0200
commit46f8c23da389b6777169248ed3e33f55e3dcbece (patch)
tree34abd3ac10a1112baaea318cf5e38eabe33acb0a /org-roam-ui.el
parent9474a254390b1e42488a1801fed5826b32a8030b (diff)
parent11111bb49889feb1b00e6814d9d81e3e23409d7c (diff)
Merge pull request #247 from danhuynhdev/main
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))))))))