diff options
author | Huynh Tan <[email protected]> | 2022-06-30 15:52:03 +0700 |
---|---|---|
committer | Huynh Tan <[email protected]> | 2022-06-30 15:52:03 +0700 |
commit | 11111bb49889feb1b00e6814d9d81e3e23409d7c (patch) | |
tree | 34abd3ac10a1112baaea318cf5e38eabe33acb0a /org-roam-ui.el | |
parent | 94b543c1d28743f85bee2342609ff2019f7ec7d8 (diff) |
Read useInheritance from emacs config
Diffstat (limited to 'org-roam-ui.el')
-rw-r--r-- | org-roam-ui.el | 5 |
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)))))))) |