mirror of
https://github.com/jimeh/.emacs.d.git
synced 2026-02-19 13:46:41 +00:00
chore(deps): use built-in use-package if available
use-package was recently added to Emacs itself. Hence if it is available, do not separately install the package from a package source.
This commit is contained in:
@@ -47,8 +47,10 @@
|
||||
(add-to-list 'straight-x-pinned-packages
|
||||
`(,package . ,gitsha)))
|
||||
|
||||
;; Make use-package available.
|
||||
(straight-use-package 'use-package)
|
||||
;; Ensure use-package available, only installing it if it not included with the
|
||||
;; current Emacs version.
|
||||
(if (not (fboundp 'use-package))
|
||||
(straight-use-package 'use-package))
|
||||
|
||||
;; Make general.el keybinding helpers available.
|
||||
(use-package general)
|
||||
|
||||
Reference in New Issue
Block a user