From 57ec21a0139a286d3a670a4aef6699e13b4ec963 Mon Sep 17 00:00:00 2001 From: Justin Talbott Date: Mon, 20 Nov 2017 23:33:34 -0500 Subject: [PATCH] allow customized values to be nil --- lisp/use-package/use-package.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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)))))) -- 2.39.2