fix(cli): doom install: $DOOMDIR templates (part 2)

Caused by a regression originally introduced in b6b755d, but incorrectly
fixed in 89c56a3. Don't code while sleep deprived, kids.

Amend: 89c56a339346
Amend: b6b755dea454
This commit is contained in:
Henrik Lissner 2024-03-28 00:23:17 -04:00 committed by Yann Esposito (Yogsototh)
parent ca3686afa1
commit 9da958c403
Signed by untrusted user who does not match committer: yogsototh
GPG key ID: 7B19A4C650D59646

View file

@ -67,7 +67,7 @@ Change `$DOOMDIR' with the `--doomdir' option, e.g.
(if (file-exists-p filename)
(print! (item "Skipping %s (already exists)...") (path filename))
(print! (item "Creating %s...") (path filename))
(with-temp-file template (insert-file-contents template))
(with-temp-file filename (insert-file-contents template))
(print! (success "Done!")))))
(let ((template-dir (doom-path doom-emacs-dir "templates")))
`((,doom-module-init-file