diff --git a/lisp/cli/install.el b/lisp/cli/install.el index edb96cd2a..3e1e4ef21 100644 --- a/lisp/cli/install.el +++ b/lisp/cli/install.el @@ -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