]> git.donarmstrong.com Git - lib.git/commitdiff
load use-packages even earlier
authorDon Armstrong <don@donarmstrong.com>
Thu, 25 Jan 2018 22:33:45 +0000 (14:33 -0800)
committerDon Armstrong <don@donarmstrong.com>
Thu, 25 Jan 2018 22:33:45 +0000 (14:33 -0800)
emacs_el/configuration/don-configuration.org

index 823afd3ac8f06592b6f34d9379c06b34f194655a..6788679b29fefd3ef0d430b671cd1a206d8b688c 100644 (file)
@@ -30,6 +30,9 @@ load  [[https://github.com/jwiegley/use-package/][use-package]] even faster
 #+BEGIN_SRC emacs-lisp
   (setq package-enable-at-startup nil)
   (setq package--init-file-ensured t)
+  (setq package-archives '(("gnu" . "https://elpa.gnu.org/packages/")
+                           ("melpa" . "https://melpa.org/packages/")
+                           ("org" . "http://orgmode.org/elpa/") ))
   (eval-and-compile
     (setq use-package-verbose (not (bound-and-true-p byte-compile-current-file))))
   (mapc #'(lambda (add) (add-to-list 'load-path add))
@@ -49,9 +52,6 @@ load  [[https://github.com/jwiegley/use-package/][use-package]] even faster
                        nil))
                      load-path))))))
 
-  (setq package-archives '(("gnu" . "https://elpa.gnu.org/packages/")
-               ("melpa" . "https://melpa.org/packages/")
-               ("org" . "http://orgmode.org/elpa/") ))
   (require 'use-package)
   (require 'diminish)
   (require 'bind-key)