diff options
author | Franck Cuny <franckcuny@gmail.com> | 2016-08-02 19:56:28 -0700 |
---|---|---|
committer | Franck Cuny <franckcuny@gmail.com> | 2016-08-02 19:56:28 -0700 |
commit | 94eb3f27fd2485b207772e6ea2ecd169154afe39 (patch) | |
tree | 648f4df84f326ff43a1412c67a31791ef86e75a6 | |
parent | [emacs] Show trailing white space (diff) | |
download | emacs.d-94eb3f27fd2485b207772e6ea2ecd169154afe39.tar.gz |
[emacs] Add package 'use-package'.
Closes #15.
-rw-r--r-- | emacs.d/init.el | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/emacs.d/init.el b/emacs.d/init.el index bd33fdc..50b74f7 100644 --- a/emacs.d/init.el +++ b/emacs.d/init.el @@ -12,6 +12,14 @@ (message "Refreshing ELPA package archives...") (package-refresh-contents)) +(unless (package-installed-p 'use-package) + (progn + (package-refresh-contents) + (package-install 'use-package))) + +(require 'use-package) + +;; the list of packages I want to be installed (defvar package-list) (setq package-list '( |