18 lines
732 B
Plaintext
18 lines
732 B
Plaintext
;; Configure package.el to include MELPA.
|
|
(require 'package)
|
|
(add-to-list 'package-archives '("gnu" . "https://elpa.gnu.org/packages/") t)
|
|
(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/") t)
|
|
(add-to-list 'package-archives '("org" . "https://orgmode.org/elpa/") t)
|
|
(package-initialize)
|
|
|
|
;; Ensure that use-package is installed.
|
|
;;
|
|
;; If use-package isn't already installed, it's extremely likely that this is a
|
|
;; fresh installation! So we'll want to update the package repository and
|
|
;; install use-package before loading the literate configuration.
|
|
(when (not (package-installed-p 'use-package))
|
|
(package-refresh-contents)
|
|
(package-install 'use-package))
|
|
|
|
(org-babel-load-file "~/.emacs.d/config.org")
|