Use load-file instead of require for package-config.el

This commit is contained in:
Evie Litherland-Smith 2024-04-17 12:59:32 +01:00
parent 2daf0a4b03
commit 01153fe87c
2 changed files with 2 additions and 2 deletions

View file

@ -7,7 +7,7 @@
(setopt warning-minimum-level :error)
;; Configure packages archives with priority
(require 'package-config)
(load-file "package-config.el")
(setq custom-file (locate-user-emacs-file "custom.el"))
(when (and custom-file (file-exists-p custom-file))

View file

@ -2,7 +2,7 @@
;;; Commentary:
;;; Code:
;; Configure packages archives with priority
(require 'package-config)
(load-file "package-config.el")
(package-refresh-contents)
(setopt package-selected-packages
'(