From bfc4393040037a3dd17531e6e9dcfa6990a3c33d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Mattias=20Engdeg=C3=A5rd?= Date: Thu, 15 Sep 2022 21:59:16 +0200 Subject: [PATCH] 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. --- lisp/image/wallpaper.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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") -- 2.39.2