From: Justin Talbott Date: Tue, 21 Nov 2017 04:33:34 +0000 (-0500) Subject: allow customized values to be nil X-Git-Tag: emacs-29.0.90~1306^2~15^2~255^2 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=57ec21a013;p=emacs.git allow customized values to be nil --- diff --git a/lisp/use-package/use-package.el b/lisp/use-package/use-package.el index 24c62339ea1..f36cebe70d1 100644 --- a/lisp/use-package/use-package.el +++ b/lisp/use-package/use-package.el @@ -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))))))