Skip to content

Commit 14b897d

Browse files
committed
Make Emacs 27 behavior consistent
1 parent 1f243f3 commit 14b897d

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

early-init.el

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
;;; early-init.el --- Emacs 27+ pre-initialisation config
2+
3+
;;; Commentary:
4+
5+
;; Emacs 27+ loads this file before (normally) calling
6+
;; `package-initialize'. We use this file to suppress that automatic
7+
;; behaviour so that startup is consistent across Emacs versions.
8+
9+
;;; Code:
10+
11+
(setq package-enable-at-startup nil)
12+
13+
;; So we can detect this having been loaded
14+
(provide 'early-init)
15+
16+
;;; early-init.el ends here

0 commit comments

Comments
 (0)