diff --git a/lisp/init-lsp.el b/lisp/init-lsp.el index 888425390..64b319591 100644 --- a/lisp/init-lsp.el +++ b/lisp/init-lsp.el @@ -31,6 +31,7 @@ ;;; Code: (eval-when-compile + (require 'init-const) (require 'init-custom)) (pcase centaur-lsp @@ -50,7 +51,7 @@ ("C-M-." . consult-eglot-symbols))) ;; Emacs LSP booster - (when (executable-find "emacs-lsp-booster") + (when (and emacs/>=29p (executable-find "emacs-lsp-booster")) (unless (package-installed-p 'eglot-booster) (and (fboundp #'package-vc-install) (package-vc-install "https://github.com/jdtsmith/eglot-booster")))