Use load-file instead of require for package-config.el
This commit is contained in:
parent
2daf0a4b03
commit
01153fe87c
2
init.el
2
init.el
|
@ -7,7 +7,7 @@
|
||||||
(setopt warning-minimum-level :error)
|
(setopt warning-minimum-level :error)
|
||||||
|
|
||||||
;; Configure packages archives with priority
|
;; Configure packages archives with priority
|
||||||
(require 'package-config)
|
(load-file "package-config.el")
|
||||||
|
|
||||||
(setq custom-file (locate-user-emacs-file "custom.el"))
|
(setq custom-file (locate-user-emacs-file "custom.el"))
|
||||||
(when (and custom-file (file-exists-p custom-file))
|
(when (and custom-file (file-exists-p custom-file))
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
;;; Commentary:
|
;;; Commentary:
|
||||||
;;; Code:
|
;;; Code:
|
||||||
;; Configure packages archives with priority
|
;; Configure packages archives with priority
|
||||||
(require 'package-config)
|
(load-file "package-config.el")
|
||||||
(package-refresh-contents)
|
(package-refresh-contents)
|
||||||
(setopt package-selected-packages
|
(setopt package-selected-packages
|
||||||
'(
|
'(
|
||||||
|
|
Loading…
Reference in a new issue