From 72f6e9f5e58a32ee939955208415e77d9058783c Mon Sep 17 00:00:00 2001 From: Martin Polden Date: Tue, 14 Jun 2022 22:17:17 +0200 Subject: package: Remove package-initialize guard Explicit package-initialize seems to be required when running code with --script. --- lisp/init-package.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'lisp/init-package.el') diff --git a/lisp/init-package.el b/lisp/init-package.el index 2a653a7..ddc23c1 100644 --- a/lisp/init-package.el +++ b/lisp/init-package.el @@ -8,8 +8,7 @@ '("melpa" . "https://melpa.org/packages/") t) (add-to-list 'package-archives '("nongnu" . "https://elpa.nongnu.org/nongnu/") t) -(when (< emacs-major-version 27) - (package-initialize)) +(package-initialize) ;; emacs and gnutls has recurring issues with tls 1.3 ;; the original bug was supposedly fixed in 26.3, but resurfaced in 27.2 on -- cgit v1.2.3