]> git.eshelyaron.com Git - emacs.git/commit
Make use-package-normalize-value handle nil better
authorRadon Rosborough <radon.neon@gmail.com>
Wed, 5 Apr 2017 04:16:06 +0000 (21:16 -0700)
committerRadon Rosborough <radon.neon@gmail.com>
Wed, 5 Apr 2017 04:16:06 +0000 (21:16 -0700)
commita9ffffcee5c8047db5b00625790ab9d1b1eccc4b
treea811ad3895390ff70e4568ea9bd5dc14e3d5137d
parent2db2b56b17ac9a5125cce4bc2b41298bd1d34476
Make use-package-normalize-value handle nil better

The previous version of `use-package-normalize-value', when passed
nil, would return the list (symbol-value (quote nil)). This meant that
keywords which used `use-package-normalize-value' or the higher-level
normalizer `use-package-normalize-test' would get a non-nil
argument (i.e. the above list) even when the user specified nil to the
package.

This had the concrete impact of making it so that :defer-install nil
was treated as :defer-install t.
lisp/use-package/use-package.el