From 81debb519f7c448b7a5acea21fdb46eaaffe0afa Mon Sep 17 00:00:00 2001 From: Kévin Le Gouguec Date: Tue, 20 Mar 2018 06:59:02 +0100 Subject: Stop calling package-initialize in version 27 To prevent Emacs from modifying a user's init file behind their back, the developers have decided that: - by default, Emacs will call package-initialize before loading the user's init file (thereby ensuring that out-of-the-box, when Emacs starts, it activates packages installed in a previous session); - the user can disable packages (among other things) using a new, "early-init" file that will be read before package management kicks in. This has been committed to Emacs's master branch, so versions up to 26 still need to call package-initialize. While in there, tuck package-archives in the Custom file. Hopefully in a few years I can remove all this package cruft from my init file. --- .emacs-custom.el | 4 ++++ 1 file changed, 4 insertions(+) (limited to '.emacs-custom.el') diff --git a/.emacs-custom.el b/.emacs-custom.el index 04494cd..734cdcc 100644 --- a/.emacs-custom.el +++ b/.emacs-custom.el @@ -43,6 +43,10 @@ '(markdown-enable-math t) '(markdown-header-scaling t) '(menu-bar-mode nil) + '(package-archives + (quote + (("melpa" . "https://melpa.org/packages/") + ("gnu" . "http://elpa.gnu.org/packages/")))) '(package-selected-packages (quote (rg delight paradox flycheck magit markdown-mode page-break-lines rust-mode wgrep))) -- cgit v1.2.3