emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/helm f37d62de39: Prevent upgrading some of package-load-li


From: ELPA Syncer
Subject: [nongnu] elpa/helm f37d62de39: Prevent upgrading some of package-load-list
Date: Mon, 15 Jul 2024 04:00:36 -0400 (EDT)

branch: elpa/helm
commit f37d62de39bc6489e503b9365bc372781e445c1c
Author: Thierry Volpiatto <thievol@posteo.net>
Commit: Thierry Volpiatto <thievol@posteo.net>

    Prevent upgrading some of package-load-list
---
 helm-packages.el | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/helm-packages.el b/helm-packages.el
index 97c6852fd8..53c702830d 100644
--- a/helm-packages.el
+++ b/helm-packages.el
@@ -271,7 +271,10 @@ to avoid errors with outdated packages no more availables."
   (interactive "P")
   (package-initialize)
   (when arg (helm-packages--refresh-contents))
-  (let ((upgrades (package--upgradeable-packages))
+  (let ((upgrades (cl-loop for p in (package--upgradeable-packages)
+                           unless (helm-aand (assq p package-load-list)
+                                             (or (null it) (stringp it)))
+                           collect p))
         (removables (package--removable-packages)))
     (helm :sources (list
                     (helm-make-source "Availables for upgrade" 
'helm-packages-class



reply via email to

[Prev in Thread] Current Thread [Next in Thread]