about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--.emacs.d/lisp/init-packages.el5
1 files changed, 4 insertions, 1 deletions
diff --git a/.emacs.d/lisp/init-packages.el b/.emacs.d/lisp/init-packages.el
index 8c43e82..70dc5e8 100644
--- a/.emacs.d/lisp/init-packages.el
+++ b/.emacs.d/lisp/init-packages.el
@@ -49,10 +49,13 @@
 
 (use-package epl
   :config
+  (defvar my/system-packages '("vterm"))
   (defun my/upgrade-packages ()
     (interactive)
     (epl-refresh)
-    (epl-upgrade)
+    (when-let ((upgrades (seq-filter (lambda (p) (not (member (epl-package-name p) my/system-packages)))
+                                     (mapcar 'epl-upgrade-available (epl-find-upgrades)))))
+      (epl-upgrade upgrades))
     (fetch-vertico-extensions)
     (message "Package upgrade finished.")))