fix: incorrect value for user-init-file

This wasn't really causing any noticable issues, but should be corrected
in any case.
This commit is contained in:
Henrik Lissner
2024-11-03 14:14:57 -05:00
parent 1f45e9e79e
commit 5649e1acc4

View File

@ -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,