1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-24 14:30:43 -08:00

Merge pull request from justbur/normalize-fix

Fix usage of plist argument in use-package-normalize-plist
GitHub-reference: https://github.com/jwiegley/use-package/issues/625
This commit is contained in:
John Wiegley 2018-02-06 14:14:51 -08:00 committed by GitHub
commit 10b4dcb53a

View file

@ -511,7 +511,8 @@ This is in contrast to merely setting it to 0."
"Given a pseudo-plist, normalize it to a regular plist.
The normalized key/value pairs from input are added to PLIST,
extending any keys already present."
(when input
(if (null input)
plist
(let* ((keyword (car input))
(xs (use-package-split-list #'keywordp (cdr input)))
(args (car xs))