Merge pull request from waymondo/master

Allow customized values to be nil
GitHub-reference: https://github.com/jwiegley/use-package/issues/515
This commit is contained in:
John Wiegley 2017-11-21 14:30:47 -08:00 committed by GitHub
commit eda2db4f18

View file

@ -1423,7 +1423,8 @@ deferred until the prefix key sequence is pressed."
(value (nth 1 def))
(comment (nth 2 def)))
(when (or (not variable)
(not value)
(and (not value)
(not (eq value nil)))
(> (length def) 3)
(and comment (not (stringp comment))))
(use-package-error error-msg))))))