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: 89c56a3393
Amend: b6b755dea4
This commit is contained in:
Henrik Lissner 2024-03-28 00:23:17 -04:00
parent 89c56a3393
commit b443371981
No known key found for this signature in database
GPG Key ID: B60957CA074D39A3

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