branch: externals/system-packages commit 5010fb47064ada64c8e1e1af768fce39a93cf361 Author: Alex Branham <bran...@utexas.edu> Commit: Alex Branham <bran...@utexas.edu>
Fix spacing in some variable names --- system-packages.el | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/system-packages.el b/system-packages.el index 83111d9..043a9f8 100644 --- a/system-packages.el +++ b/system-packages.el @@ -221,7 +221,7 @@ (list-dependencies-of . "xbps-query -x") (noconfirm . nil))))) -(defcustom system-packages-packagemanager +(defcustom system-packages-package-manager (cl-loop for (name . prop) in system-packages-supported-package-managers for path = (executable-find (symbol-name name)) when path @@ -234,7 +234,10 @@ default." :group 'system-packages :type 'symbol) -(defcustom system-packages-usesudo +(define-obsolete-variable-alias 'system-packages-packagemanager + 'system-packages-package-manager "2017-12-25") + +(defcustom system-packages-use-sudo (cdr (assoc 'default-sudo (cdr (assoc system-packages-packagemanager system-packages-supported-package-managers)))) "If non-nil, system-packages uses sudo for appropriate commands. @@ -242,6 +245,9 @@ default." Tries to be smart for selecting the default." :group 'system-packages) +(define-obsolete-variable-alias 'system-packages-usesudo + 'system-packages-use-sudo "2017-12-25") + (defcustom system-packages-noconfirm nil "If non-nil, bypass prompts asking the user to confirm package upgrades." :group 'system-packages