diff options
author | Franck Cuny <franck.cuny@gmail.com> | 2018-08-11 15:55:27 -0700 |
---|---|---|
committer | Franck Cuny <franck.cuny@gmail.com> | 2018-08-11 15:55:27 -0700 |
commit | 3bd21c7dc44fd841aa890b2856525656f05777a5 (patch) | |
tree | d7b671767bc11393d02830f8fa2bcf7aef03aa24 /configs | |
parent | Shuffling things around in this repo (diff) | |
download | emacs.d-3bd21c7dc44fd841aa890b2856525656f05777a5.tar.gz |
[emacs] ensure use-package is installed.
This is needed to bootstrap a new installation.
Diffstat (limited to 'configs')
-rw-r--r-- | configs/rcs/emacs.d/init.el | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/configs/rcs/emacs.d/init.el b/configs/rcs/emacs.d/init.el index 57a433b..757a45e 100644 --- a/configs/rcs/emacs.d/init.el +++ b/configs/rcs/emacs.d/init.el @@ -14,6 +14,11 @@ ;; initialize it (package-initialize) +;; if use-package is not present, we install it +(unless (package-installed-p 'use-package) + (package-refresh-contents) + (package-install 'use-package)) + (defun fcuny/init-load-path () "Load custom configurations." (let* ((before load-path) |