]> git.eshelyaron.com Git - emacs.git/commit
use `use-package-as-one` for normalizing `:ensure-system-package`
authorJustin Talbott <justin@waymondo.com>
Sun, 10 Feb 2019 01:52:50 +0000 (20:52 -0500)
committerJustin Talbott <justin@waymondo.com>
Fri, 14 Jun 2019 22:50:38 +0000 (18:50 -0400)
commit4149ec6cfa11cf094f914539ac6915e0d874559f
treef4d96adb1e4cd0aae9b4d7ba25f38eeb9ddfa64c
parent97f0287e1968d3ccd802fe52a4dbca707babd7fa
use `use-package-as-one` for normalizing `:ensure-system-package`

This makes the preferred syntax consistent with other `use-package`
keywords. All of these are now valid:

```
(use-package format-all
  :ensure-system-package
  (prettier . "npm i -g prettier")
  (rufo . "gem install rufo"))

(use-package format-all
  :ensure-system-package
  ((prettier . "npm i -g prettier")
   (rufo . "gem install rufo")))

(use-package format-all
  :ensure-system-package
  (prettier . "npm i -g prettier"))
```
lisp/use-package/use-package-ensure-system-package.el