wiki/.dir-locals.el

18 lines
1.0 KiB
EmacsLisp
Raw Normal View History

2021-04-19 14:50:59 +00:00
((org-mode .
2021-04-23 17:08:53 +00:00
((org-babel-default-header-args . ((:session . "none")
2021-04-22 04:31:24 +00:00
(:results . "replace output")
2021-04-19 14:50:59 +00:00
(:exports . "both")
2021-04-22 04:31:24 +00:00
(:cache . "no")
(:noweb . "yes")
2021-04-23 17:08:53 +00:00
(:mkdirp . "yes")
2021-04-19 14:50:59 +00:00
(:tangle . "no")))
2021-04-23 17:08:53 +00:00
(org-babel-default-header-args:org . ((:results . "silent")
(:exports . "code")))
(eval . (setq org-babel-default-header-args
(cons `(:dir . ,(concat
(file-name-directory (buffer-file-name))
"assets/"
(file-name-base (buffer-file-name))))
(assq-delete-all :dir org-babel-default-header-args))))
(org-babel-results-keyword . "results"))))