Fix #4623: tangle to config.el by default

Only uses this if no compile destination is specified in header or src
block parameters.
This commit is contained in:
Henrik Lissner 2021-02-07 23:57:44 -05:00
parent d858126894
commit e08c5f537e

View File

@ -23,7 +23,7 @@ byte-compiled from.")
(letf! ((default-directory doom-private-dir)
(target +literate-config-file)
(cache +literate-config-cache-file)
(dest (expand-file-name (concat (file-name-base target) ".el")))
(dest (expand-file-name (concat doom-module-config-file ".el")))
;; Operate on a copy because `org-babel-tangle' has
;; side-effects we need to undo immediately as not to
;; overwrite the user's config; it's bad ettiquite.