Auto-install use-package
This commit is contained in:
parent
23bbfc80fa
commit
e83f905cdb
2 changed files with 8 additions and 0 deletions
|
@ -12,6 +12,7 @@
|
||||||
* Add a Lua module.
|
* Add a Lua module.
|
||||||
* Auto-install `racket-mode` if needed.
|
* Auto-install `racket-mode` if needed.
|
||||||
* Add a F# module.
|
* Add a F# module.
|
||||||
|
* Auto-install `use-package`.
|
||||||
|
|
||||||
### Changes
|
### Changes
|
||||||
|
|
||||||
|
|
|
@ -53,6 +53,13 @@
|
||||||
(setq package-user-dir (expand-file-name "elpa" prelude-dir))
|
(setq package-user-dir (expand-file-name "elpa" prelude-dir))
|
||||||
(package-initialize)
|
(package-initialize)
|
||||||
|
|
||||||
|
;; install & enable use-package
|
||||||
|
(unless (package-installed-p 'use-package)
|
||||||
|
(package-install 'use-package))
|
||||||
|
|
||||||
|
(require 'use-package)
|
||||||
|
(setq use-package-verbose t)
|
||||||
|
|
||||||
(defvar prelude-packages
|
(defvar prelude-packages
|
||||||
'(ace-window
|
'(ace-window
|
||||||
ag
|
ag
|
||||||
|
|
Loading…
Reference in a new issue