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.
|
||||
* Auto-install `racket-mode` if needed.
|
||||
* Add a F# module.
|
||||
* Auto-install `use-package`.
|
||||
|
||||
### Changes
|
||||
|
||||
|
|
|
@ -53,6 +53,13 @@
|
|||
(setq package-user-dir (expand-file-name "elpa" prelude-dir))
|
||||
(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
|
||||
'(ace-window
|
||||
ag
|
||||
|
|
Loading…
Reference in a new issue