Skip to content

Commit

Permalink
Auto-install use-package
Browse files Browse the repository at this point in the history
  • Loading branch information
bbatsov committed Feb 24, 2023
1 parent 23bbfc8 commit e83f905
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
* Add a Lua module.
* Auto-install `racket-mode` if needed.
* Add a F# module.
* Auto-install `use-package`.

### Changes

Expand Down
7 changes: 7 additions & 0 deletions core/prelude-packages.el
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e83f905

Please sign in to comment.