summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Burkett <justin@burkett.cc>2018-02-06 12:48:51 -0500
committerJustin Burkett <justin@burkett.cc>2018-02-06 12:48:51 -0500
commit46503b194c2a1025e3e88f6e8cbd5750ccd5d855 (patch)
tree822569958dcaf9e314cce4d03822926076470912
parente379221166bed11c933f531ed472e714bde2a97d (diff)
downloademacs-46503b194c.tar.gz
Fix usage of plist argument in use-package-normalize-plist
Previously the argument was never used.
-rw-r--r--lisp/use-package/use-package-core.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/use-package/use-package-core.el b/lisp/use-package/use-package-core.el
index 1ae35fe7335..a649d087fae 100644
--- a/lisp/use-package/use-package-core.el
+++ b/lisp/use-package/use-package-core.el
@@ -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))