Don't try to use package-vc-install on Emacs <29

This commit is contained in:
Adam Goldsmith 2024-01-20 01:34:36 -05:00
parent 51b81ab100
commit a3813e1290

View File

@ -37,7 +37,7 @@
:config :config
(setq use-package-check-before-init t (setq use-package-check-before-init t
use-package-always-defer t)) use-package-always-defer t))
(unless (package-installed-p 'vc-use-package) (unless (or (< emacs-major-version 29) (package-installed-p 'vc-use-package))
(package-vc-install "https://github.com/slotThe/vc-use-package")) (package-vc-install "https://github.com/slotThe/vc-use-package"))
;;;; not sure where to put this ;;;; not sure where to put this