From a3813e129028d4dd8d3a1891f45c394387f89c80 Mon Sep 17 00:00:00 2001 From: Adam Goldsmith Date: Sat, 20 Jan 2024 01:34:36 -0500 Subject: [PATCH] Don't try to use package-vc-install on Emacs <29 --- .emacs.d/init.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 1ab1640..2c6a3a5 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -37,7 +37,7 @@ :config (setq use-package-check-before-init 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")) ;;;; not sure where to put this