Auto-install use-package

This commit is contained in:
Bozhidar Batsov 2023-02-24 08:18:21 +01:00
parent 23bbfc80fa
commit e83f905cdb
2 changed files with 8 additions and 0 deletions

View file

@ -12,6 +12,7 @@
* Add a Lua module.
* Auto-install `racket-mode` if needed.
* Add a F# module.
* Auto-install `use-package`.
### Changes

View file

@ -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