aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/startup.el6
1 files changed, 5 insertions, 1 deletions
diff --git a/lisp/startup.el b/lisp/startup.el
index f2410f6f2c3..112b9b25961 100644
--- a/lisp/startup.el
+++ b/lisp/startup.el
@@ -1167,7 +1167,11 @@ please check its value")
1167 (load-user-init-file 1167 (load-user-init-file
1168 (lambda () 1168 (lambda ()
1169 (expand-file-name 1169 (expand-file-name
1170 "early-init" 1170 ;; We use an explicit .el extension here to force
1171 ;; load-user-init-file to set user-init-file to "early-init.el",
1172 ;; with the .el extension, if the file doesn't exist, not just
1173 ;; "early-init" without an extension, as it does for ".emacs".
1174 "early-init.el"
1171 (file-name-as-directory 1175 (file-name-as-directory
1172 (concat "~" init-file-user "/.emacs.d"))))) 1176 (concat "~" init-file-user "/.emacs.d")))))
1173 (setq early-init-file user-init-file) 1177 (setq early-init-file user-init-file)