branch: externals/system-packages
commit 07c4faad97a1f22c08b88c67333712677d0255ad
Author: Syohei YOSHIDA <[email protected]>
Commit: Syohei YOSHIDA <[email protected]>
Use defcustom for customizable variable
---
system-packages.el | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/system-packages.el b/system-packages.el
index 7fd8255..f885495 100644
--- a/system-packages.el
+++ b/system-packages.el
@@ -117,14 +117,15 @@
(list-installed-packages . "brew list")
(list-installed-packages-all . nil)))))
-(defvar system-packages-packagemanager
+(defcustom system-packages-packagemanager
(cl-loop for (name . prop) in system-packages-supported-package-managers
for path = (executable-find (symbol-name name))
when path
return name)
"String containing the package manager to use. Currently
system-packages supports pacman, pacaur, apt, and
- homebrew. Tries to be smart about selecting the default.")
+ homebrew. Tries to be smart about selecting the default."
+ :type 'symbol)
(defvar system-packages-usesudo
(cdr (assoc 'default-sudo (cdr (assoc system-packages-packagemanager