From: Mattias EngdegÄrd Date: Thu, 15 Sep 2022 19:59:16 +0000 (+0200) Subject: Include nil as valid wallpaper-commmand X-Git-Tag: emacs-29.0.90~1856^2~477 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=bfc4393040037a3dd17531e6e9dcfa6990a3c33d;p=emacs.git Include nil as valid wallpaper-commmand * lisp/image/wallpaper.el (wallpaper-command): Include nil in the type since that is a valid value for the variable, and may be the default value. This should fix test-custom-opts. --- diff --git a/lisp/image/wallpaper.el b/lisp/image/wallpaper.el index 16fc9d23ecb..9572349c366 100644 --- a/lisp/image/wallpaper.el +++ b/lisp/image/wallpaper.el @@ -167,7 +167,8 @@ systems, where a native API is used instead." (const :tag "xloadimage (X Window System)" "xloadimage") (const :tag "xsetbg (X Window System)" "xsetbg") (const :tag "osascript (macOS)" "osascript")) - (const :tag "Other (specify)" string)) + (const :tag "Other (specify)" string) + (const :tag "None" nil)) :set #'wallpaper--set-wallpaper-command :group 'image :version "29.1")