From 5649e1acc414babf1a95bfd5663e07f1b56165fe Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sun, 3 Nov 2024 14:14:57 -0500 Subject: [PATCH] fix: incorrect value for user-init-file This wasn't really causing any noticable issues, but should be corrected in any case. --- lisp/doom-start.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/doom-start.el b/lisp/doom-start.el index 3832aa22a..55e495453 100644 --- a/lisp/doom-start.el +++ b/lisp/doom-start.el @@ -309,7 +309,7 @@ If RETURN-P, return the message as a string instead of displaying it." ;; If we loaded a compiled file, set `user-init-file' to the ;; source version if that exists. (setq user-init-file - (concat (string-remove-suffix ".elc" user-init-file) + (concat (string-remove-suffix ".elc" init-file-name) ".el")) ;; HACK: if `init-file-name' happens to be higher in ;; `load-history' than a symbol's actual definition,