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

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

[elpa] externals/system-packages 2046209 080/117: Make system-packages-s


From: Stefan Monnier
Subject: [elpa] externals/system-packages 2046209 080/117: Make system-packages-supported-package-managers a defvar
Date: Fri, 14 Dec 2018 17:02:12 -0500 (EST)

branch: externals/system-packages
commit 2046209de1fbac1e02b48b9a8102643c0847feac
Author: Alex Branham <address@hidden>
Commit: Alex Branham <address@hidden>

    Make system-packages-supported-package-managers a defvar
    
    Since the README shows how to modify this, it shouldn't be a defconst
---
 system-packages.el | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/system-packages.el b/system-packages.el
index d2fb348..4bf9175 100644
--- a/system-packages.el
+++ b/system-packages.el
@@ -49,7 +49,7 @@
   :prefix "system-packages"
   :group 'packages)
 
-(defconst system-packages-supported-package-managers
+(defvar system-packages-supported-package-managers
   '(
     ;; guix
     (guix .
@@ -259,7 +259,10 @@
                    (list-installed-packages . "xbps-query -l ")
                    (list-installed-packages-all . "xbps-query -l ")
                    (list-dependencies-of . "xbps-query -x")
-                   (noconfirm . nil)))))
+                   (noconfirm . nil))))
+  "An alist of package manager commands.
+The key is the package manager and values (usually) commands.")
+(put 'system-packages-supported-package-managers 'risky-local-variable t)
 
 (defcustom system-packages-package-manager
   (cl-loop for (name . prop) in system-packages-supported-package-managers



reply via email to

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