about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorDavid Morgan <djm_uk@protonmail.com>2024-10-11 14:32:50 +0100
committerDavid Morgan <djm_uk@protonmail.com>2024-10-11 14:32:50 +0100
commit9e69d4fd1e8dea30c0a84f2f0a7438583dac47f7 (patch)
treeff30159a6c0f2c8c8ba6044e289f7d0aacae29b1
parent58107f90cb7f58571a96751026c7beb9d58e4eb5 (diff)
downloaddotfiles-9e69d4fd1e8dea30c0a84f2f0a7438583dac47f7.tar.gz
Fix auto-reload function
-rw-r--r--.emacs.d/lisp/init-packages.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/.emacs.d/lisp/init-packages.el b/.emacs.d/lisp/init-packages.el
index 8d3623d..965314b 100644
--- a/.emacs.d/lisp/init-packages.el
+++ b/.emacs.d/lisp/init-packages.el
@@ -169,8 +169,8 @@ using this command."
   (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)))
+                   (memq id '(xref project))))
+      (+elpaca-reload-package id))))
 
 ;; https://github.com/radian-software/radian/blob/e3aad124c8e0cc870ed09da8b3a4905d01e49769/emacs/radian.el#L352
 (defmacro use-feature (name &rest args)