From 9da958c403d3f40ef742f32cc2011208d97da6d5 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Thu, 28 Mar 2024 00:23:17 -0400 Subject: [PATCH] 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 --- lisp/cli/install.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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