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

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

[elpa] externals/system-packages 936bb1a 064/117: `system-packages-usesu


From: Stefan Monnier
Subject: [elpa] externals/system-packages 936bb1a 064/117: `system-packages-usesudo' to `system-packages-use-sudo'
Date: Fri, 14 Dec 2018 17:02:10 -0500 (EST)

branch: externals/system-packages
commit 936bb1a1f3df903e73d1485a14dc483a790b2573
Author: David Florness <address@hidden>
Commit: David Florness <address@hidden>

    `system-packages-usesudo' to `system-packages-use-sudo'
---
 README.org         | 6 +++---
 system-packages.el | 2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/README.org b/README.org
index 7721d2e..336b604 100644
--- a/README.org
+++ b/README.org
@@ -26,7 +26,7 @@ packages more convenient through emacs.
   commands (like installing and uninstalling packages). Some package
   managers (like homebrew) warn not to use sudo, others (like =apt=)
   need sudo privileges. You may set this manually by configuring
-  =system-packages-usesudo=.
+  =system-packages-use-sudo=.
 
   Other package customization options can be accessed with M-x
   =customize-group RET system-packages RET=.
@@ -81,9 +81,9 @@ the commands to =system-packages-supported-package-managers= 
like so:
 #+END_SRC
 
 You may then need to adjust =system-packages-package-manager= and
-=system-packages-usesudo= accordingly:
+=system-packages-use-sudo= accordingly:
 
 #+BEGIN_SRC emacs-lisp
-  (setq system-packages-usesudo t)
+  (setq system-packages-use-sudo t)
   (setq system-packages-package-manager "pacaur")
 #+END_SRC
diff --git a/system-packages.el b/system-packages.el
index 4e3feb6..3080ba0 100644
--- a/system-packages.el
+++ b/system-packages.el
@@ -292,7 +292,7 @@ to the package manager."
       (error (format "%S not supported in %S" action 
system-packages-package-manager)))
     (unless (listp command)
       (setq command (list command)))
-    (when system-packages-usesudo
+    (when system-packages-use-sudo
       (setq command (mapcar (lambda (part) (concat "sudo " part)) command)))
     (setq command (mapconcat 'identity command " && "))
     (setq command (mapconcat 'identity (list command pack) " "))



reply via email to

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