emacs.d/early-init.el

19 lines
495 B
EmacsLisp

;;; early-init.el --- Emacs 27+ pre-initialisation config
;;; Commentary:
;; Emacs 27+ loads this file before (normally) calling
;; `package-initialize'. We use this file to suppress that automatic
;; behaviour so that startup is consistent across Emacs versions.
;;; Code:
(setq package-enable-at-startup nil) ; disable automatic loading of installed
; packages after the init file
;; So we can detect this having been loaded
(provide 'early-init)
;;; early-init.el ends here