From b12877da5bf1bf8de3d21eeb3b9aef981765b9f1 Mon Sep 17 00:00:00 2001 From: David Morgan Date: Tue, 24 Jun 2025 13:46:16 +0100 Subject: Don't automatically reload updated packages --- .emacs.d/lisp/init-packages.el | 8 -------- 1 file changed, 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. -- cgit