emacs-diffs
[Top][All Lists]
Advanced

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

master 93b9cf4184: Get rid of default wallpaper-setter constructor


From: Stefan Kangas
Subject: master 93b9cf4184: Get rid of default wallpaper-setter constructor
Date: Mon, 26 Sep 2022 15:33:31 -0400 (EDT)

branch: master
commit 93b9cf41846b40cd050b56f6e83b590330be255e
Author: Stefan Kangas <stefankangas@gmail.com>
Commit: Stefan Kangas <stefankangas@gmail.com>

    Get rid of default wallpaper-setter constructor
    
    * lisp/image/wallpaper.el (wallpaper-setter): Actually get rid of
    the default constructor.
---
 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 de650a7318..36bc7e91a6 100644
--- a/lisp/image/wallpaper.el
+++ b/lisp/image/wallpaper.el
@@ -84,7 +84,8 @@ the image file to set the wallpaper to.")
 ;;; Finding the wallpaper command
 
 (cl-defstruct (wallpaper-setter
-               ;; Rename the default constructor from `make-wallpaper-cmd'.
+               ;; Get rid of the default constructor (`make-wallpaper-cmd').
+               (:constructor nil)
                (:constructor
                 wallpaper-setter-create
                 ( name command args-raw



reply via email to

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