From cf5c5046d66ab8c9bbac400b8c26dcfe45a77ce5 Mon Sep 17 00:00:00 2001 From: Marc Date: Thu, 10 Sep 2020 13:31:08 +0200 Subject: [PATCH] package-initialize only for < 27 --- init.org | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/init.org b/init.org index 8159fda..0acb10a 100644 --- a/init.org +++ b/init.org @@ -72,7 +72,8 @@ This function updates init.el whenever changes in init.org are made. The update (add-to-list 'package-archives '("melpa-stable" . "https://stable.melpa.org/packages/") t) (add-to-list 'package-archives '("org" . "https://orgmode.org/elpa/") t) - (package-initialize) +(when (< emacs-major-version 27) + (package-initialize)) #+END_SRC #+BEGIN_SRC emacs-lisp