]> git.eshelyaron.com Git - emacs.git/commitdiff
allow customized values to be nil
authorJustin Talbott <justin@waymondo.com>
Tue, 21 Nov 2017 04:33:34 +0000 (23:33 -0500)
committerJustin Talbott <justin@waymondo.com>
Tue, 21 Nov 2017 04:33:34 +0000 (23:33 -0500)
lisp/use-package/use-package.el

index 24c62339ea14e98ab440442413851e268a55b851..f36cebe70d13129d33dae7a8115bfb963a9ce8c4 100644 (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))))))