fix(cli): doom install: $DOOMDIR templates (part 2)
Caused by a regression originally introduced inb6b755d
, but incorrectly fixed in89c56a3
. Don't code while sleep deprived, kids. Amend:89c56a3393
Amend:b6b755dea4
This commit is contained in:
parent
89c56a3393
commit
b443371981
1 changed files with 1 additions and 1 deletions
|
@ -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))
|
||||||
(with-temp-file template (insert-file-contents template))
|
(with-temp-file filename (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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue