diff options
author | David Morgan <djm_uk@protonmail.com> | 2024-10-08 15:37:59 +0100 |
---|---|---|
committer | David Morgan <djm_uk@protonmail.com> | 2024-10-08 15:37:59 +0100 |
commit | 5402879495ca301df28a7418aac5c96dbe567add (patch) | |
tree | 7612f4aa3be2c3922d9675ef1dedf914a6c5d168 | |
parent | e24b0a363a872ffae683fffc8a2ff74dfbbc7651 (diff) | |
download | dotfiles-5402879495ca301df28a7418aac5c96dbe567add.tar.gz |
Disable automatic reload of xref and project
-rw-r--r-- | .emacs.d/lisp/init-packages.el | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/.emacs.d/lisp/init-packages.el b/.emacs.d/lisp/init-packages.el index cad3ca7..8d3623d 100644 --- a/.emacs.d/lisp/init-packages.el +++ b/.emacs.d/lisp/init-packages.el @@ -167,6 +167,9 @@ using this command." (define-advice elpaca-merge (:after (id &optional _fetch _interactive) elpaca-merge-reload) "Automically reload packages after they have been updated." (cl-letf (((symbol-function 'yes-or-no-p) (cl-constantly t))) + (when (not (or (memq id elpaca-ignored-dependencies) + ;; TODO why aren't these already in the list? + (memq id '(xref project))))) (+elpaca-reload-package id))) ;; https://github.com/radian-software/radian/blob/e3aad124c8e0cc870ed09da8b3a4905d01e49769/emacs/radian.el#L352 |