1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-24 07:20:37 +00:00

allow customized values to be nil

This commit is contained in:
Justin Talbott 2017-11-20 23:33:34 -05:00
parent 9bf8264523
commit 57ec21a013

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))))))