diff options
author | Justin Talbott <justin@waymondo.com> | 2017-11-20 23:33:34 -0500 |
---|---|---|
committer | Justin Talbott <justin@waymondo.com> | 2017-11-20 23:33:34 -0500 |
commit | 57ec21a0139a286d3a670a4aef6699e13b4ec963 (patch) | |
tree | 404610eb76eda93f068ae6e3c5f9e2092265ddb6 /lisp/use-package/use-package.el | |
parent | 9bf8264523fe79c00eac10969e2726b7bac56d03 (diff) | |
download | emacs-57ec21a0139a286d3a670a4aef6699e13b4ec963.tar.gz emacs-57ec21a0139a286d3a670a4aef6699e13b4ec963.tar.bz2 emacs-57ec21a0139a286d3a670a4aef6699e13b4ec963.zip |
allow customized values to be nil
Diffstat (limited to 'lisp/use-package/use-package.el')
-rw-r--r-- | lisp/use-package/use-package.el | 3 |
1 files changed, 2 insertions, 1 deletions
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)))))) |