[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 8892abbaf9: Autoload wallpaper-set
From: |
Stefan Kangas |
Subject: |
master 8892abbaf9: Autoload wallpaper-set |
Date: |
Fri, 23 Sep 2022 05:53:59 -0400 (EDT) |
branch: master
commit 8892abbaf92ebd2e8f968fe86270fba08bf1d07a
Author: Stefan Kangas <stefankangas@gmail.com>
Commit: Stefan Kangas <stefankangas@gmail.com>
Autoload wallpaper-set
* lisp/image/wallpaper.el (wallpaper-set): Autoload.
* lisp/image-mode.el (wallpaper):
* lisp/image/image-dired.el (wallpaper):
* lisp/thumbs.el (wallpaper): Don't require.
---
lisp/image-mode.el | 1 -
lisp/image/image-dired.el | 1 -
lisp/image/wallpaper.el | 1 +
lisp/thumbs.el | 1 -
4 files changed, 1 insertion(+), 3 deletions(-)
diff --git a/lisp/image-mode.el b/lisp/image-mode.el
index a4c292f2b6..eee4be6a10 100644
--- a/lisp/image-mode.el
+++ b/lisp/image-mode.el
@@ -45,7 +45,6 @@
(require 'image)
(require 'exif)
(require 'dired)
-(require 'wallpaper)
(eval-when-compile (require 'cl-lib))
;;; Image mode window-info management.
diff --git a/lisp/image/image-dired.el b/lisp/image/image-dired.el
index 41ed05f191..bcff62484f 100644
--- a/lisp/image/image-dired.el
+++ b/lisp/image/image-dired.el
@@ -133,7 +133,6 @@
(require 'dired)
(require 'image-mode)
-(require 'wallpaper)
(require 'widget)
(require 'xdg)
diff --git a/lisp/image/wallpaper.el b/lisp/image/wallpaper.el
index 31091a6002..aea13227a8 100644
--- a/lisp/image/wallpaper.el
+++ b/lisp/image/wallpaper.el
@@ -279,6 +279,7 @@ See also `wallpaper-default-width'.")
(declare-function w32-set-wallpaper "w32fns.c")
(declare-function haiku-set-wallpaper "term/haiku-win.el")
+;;;###autoload
(defun wallpaper-set (file)
"Set the desktop background to FILE in a graphical environment.
diff --git a/lisp/thumbs.el b/lisp/thumbs.el
index 0c5307f8de..a9ff9f5ebc 100644
--- a/lisp/thumbs.el
+++ b/lisp/thumbs.el
@@ -54,7 +54,6 @@
;;; Code:
(require 'dired)
-(require 'wallpaper)
(require 'cl-lib) ; for cl-gensym
;; CUSTOMIZATIONS
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 8892abbaf9: Autoload wallpaper-set,
Stefan Kangas <=