summary refs log tree commit diff
path: root/emacs.d/init.el
blob: 3ce0c2b3895d38a9c2a621d5866d7bd604536046 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
(require 'package)

;;; Code:
(setq package-archives
      (append package-archives
              '(("melpa" . "https://melpa.milkbox.net/packages/"))))

(package-initialize)
(setq package-enable-at-startup nil)

(unless package-archive-contents
  (message "Refreshing ELPA package archives...")
  (package-refresh-contents))

(unless (package-installed-p 'use-package)
  (message "`use-package' not found.  Installing...")
  (package-install 'use-package))

(require 'use-package)
(setq use-package-minimum-reported-time 0
      use-package-verbose t)

(use-package init-loader
  :ensure t
  :config
  (setq init-loader-show-log-after-init t)
  (init-loader-load (locate-user-emacs-file "inits")))