emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master bfc4393040: Include nil as valid wallpaper-commmand


From: Mattias Engdegård
Subject: master bfc4393040: Include nil as valid wallpaper-commmand
Date: Thu, 15 Sep 2022 16:04:43 -0400 (EDT)

branch: master
commit bfc4393040037a3dd17531e6e9dcfa6990a3c33d
Author: Mattias Engdegård <mattiase@acm.org>
Commit: Mattias Engdegård <mattiase@acm.org>

    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 16fc9d23ec..9572349c36 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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]