From 9b2b6a145f16f84bc0dba3c1d74b8944ab0d5991 Mon Sep 17 00:00:00 2001 From: Riyyi Date: Wed, 12 Aug 2020 17:05:46 +0200 Subject: [PATCH] Set (load) to prefer the newest version in early-init.el --- .config/emacs/config.org | 1 - .config/emacs/early-init.el | 3 +++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.config/emacs/config.org b/.config/emacs/config.org index 46f30c7..2d9ca58 100644 --- a/.config/emacs/config.org +++ b/.config/emacs/config.org @@ -172,7 +172,6 @@ https://github.com/emacscollective/auto-compile #+BEGIN_SRC emacs-lisp (use-package auto-compile - :custom (load-prefer-newer t) :config (auto-compile-on-load-mode) (auto-compile-on-save-mode)) diff --git a/.config/emacs/early-init.el b/.config/emacs/early-init.el index 8e2233c..107e476 100644 --- a/.config/emacs/early-init.el +++ b/.config/emacs/early-init.el @@ -18,6 +18,9 @@ ;; ------------------------------------- +;; Prefer to `load' the newest elisp file +(setq load-prefer-newer t) + ;; Set package install location (setq package-user-dir (concat user-emacs-directory "elpa"))