fix(cli): doom install: $DOOMDIR templates

Caused by a regression introduced in b6b755d.

Amend: b6b755dea4
This commit is contained in:
Henrik Lissner 2024-03-27 17:11:24 -04:00
parent 3f966f49d8
commit 89c56a3393
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) (if (file-exists-p filename)
(print! (item "Skipping %s (already exists)...") (path filename)) (print! (item "Skipping %s (already exists)...") (path filename))
(print! (item "Creating %s...") (path filename)) (print! (item "Creating %s...") (path filename))
(doom-file-write filename template) (with-temp-file template (insert-file-contents template))
(print! (success "Done!"))))) (print! (success "Done!")))))
(let ((template-dir (doom-path doom-emacs-dir "templates"))) (let ((template-dir (doom-path doom-emacs-dir "templates")))
`((,doom-module-init-file `((,doom-module-init-file