config/literate: make default tangle target DOOMDIR/config.el
Rather than ./config.el, which means it will end up in the wrong place if the user moves their config.org out of $DOOMDIR or into a subdirectory.
This commit is contained in:
parent
e03824bf5e
commit
666ea63591
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ byte-compiled from.")
|
|||
(letf! ((default-directory doom-private-dir)
|
||||
(target +literate-config-file)
|
||||
(cache +literate-config-cache-file)
|
||||
(dest (concat (file-name-sans-extension target) ".el"))
|
||||
(dest (expand-file-name (concat (file-name-base target) ".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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue