diff options
author | Laurence Rochfort <laurence.rochfort@gmail.com> | 2018-09-12 17:53:26 +0100 |
---|---|---|
committer | Laurence Rochfort <laurence.rochfort@gmail.com> | 2018-09-12 19:12:49 +0100 |
commit | ca39ed155f2ac4e127b0c5787cf0f1598ff93da7 (patch) | |
tree | 34d9073f6d043be2419f0386b9a115e4e91ab6af /lisp/use-package/bind-chord.el | |
parent | 4a34b41f960b2507b34795d37ecff94ea90d8ea8 (diff) | |
download | emacs-ca39ed155f2ac4e127b0c5787cf0f1598ff93da7.tar.gz emacs-ca39ed155f2ac4e127b0c5787cf0f1598ff93da7.tar.bz2 emacs-ca39ed155f2ac4e127b0c5787cf0f1598ff93da7.zip |
[] Install system packages using system-packages-install
:ensure-system-package was installing packages by running
system-packages-get-command via async-shell-command. This meant that
system-packages-use-sudo wasn't being honoured.
This patch makes :ensure-system-package use system-packages-install
for all cases, except where a custom install command is supplied, in
which case async-shell-command is used.
This issue was introduced in 9f034a0bcfdd8c4 [https://github.com/jwiegley/use-package/issues/673], as a fix for
[https://github.com/jwiegley/use-package/issues/661]. Prior to that commit, system-packages-use-sudo was being
honoured.
This patch also fixes a bug where a cons containing a lone symbol in a
list of conses causes nil to used as the package to install.
GitHub-reference: fix https://github.com/jwiegley/use-package/issues/720
Copyright-paperwork-exempt: yes
Diffstat (limited to 'lisp/use-package/bind-chord.el')
0 files changed, 0 insertions, 0 deletions