fix(init.el): Initialise package manager immediately

This commit is contained in:
Vincent Ambo 2017-09-27 15:02:33 +02:00
parent 6c2da17783
commit 6107ec40d6

View file

@ -1,5 +1,6 @@
;; Configure package manager ;; Configure package manager
(require 'package) (require 'package)
(package-initialize)
;; Add Marmalade repo ;; Add Marmalade repo
(add-to-list 'package-archives '("marmalade" . "https://marmalade-repo.org/packages/")) (add-to-list 'package-archives '("marmalade" . "https://marmalade-repo.org/packages/"))
@ -10,7 +11,6 @@
;; And load things! ;; And load things!
(package-refresh-contents) (package-refresh-contents)
(package-initialize)
(defvar my-pkgs (defvar my-pkgs
'(;; All packages '(;; All packages