]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix usage of plist argument in use-package-normalize-plist
authorJustin Burkett <justin@burkett.cc>
Tue, 6 Feb 2018 17:48:51 +0000 (12:48 -0500)
committerJustin Burkett <justin@burkett.cc>
Tue, 6 Feb 2018 17:48:51 +0000 (12:48 -0500)
Previously the argument was never used.

lisp/use-package/use-package-core.el

index 1ae35fe73351c37d6ba5e3cb4cbaf434e8428d1e..a649d087fae0706cba434057251c4029c62449e2 100644 (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))