aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Morgan <djm_uk@protonmail.com>2025-06-24 13:46:16 +0100
committerDavid Morgan <djm_uk@protonmail.com>2025-06-24 13:46:16 +0100
commitb12877da5bf1bf8de3d21eeb3b9aef981765b9f1 (patch)
treed276d29306f4d1d8e858960e5de135e56e44a875
parent7b3fa186cde74d5a202daec8d55cd629b487b6f9 (diff)
downloaddotfiles-b12877da5bf1bf8de3d21eeb3b9aef981765b9f1.tar.gz
Don't automatically reload updated packages
-rw-r--r--.emacs.d/lisp/init-packages.el8
1 files changed, 0 insertions, 8 deletions
diff --git a/.emacs.d/lisp/init-packages.el b/.emacs.d/lisp/init-packages.el
index cf11b4b..55b3eb5 100644
--- a/.emacs.d/lisp/init-packages.el
+++ b/.emacs.d/lisp/init-packages.el
@@ -164,14 +164,6 @@ using this command."
(when package-features
(message "Reloaded: %s" (mapconcat #'symbol-name package-features " "))))))
-(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 xref and project already in the list?
- (memq id '(xref project perspective elpaca))))
- (+elpaca-reload-package id))))
-
;; https://github.com/radian-software/radian/blob/e3aad124c8e0cc870ed09da8b3a4905d01e49769/emacs/radian.el#L352
(defmacro use-feature (name &rest args)
"Like `use-package', but without elpaca integration.