Function: image-mode-wallpaper-set

image-mode-wallpaper-set is an interactive and byte-compiled function defined in image-mode.el.gz.

Signature

(image-mode-wallpaper-set)

Documentation

Set the desktop background to the current image.

This uses wallpaper-set (which see).

Probably introduced at or before Emacs version 29.1.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/image-mode.el.gz
;;; Setting the wallpaper

(defun image-mode-wallpaper-set ()
  "Set the desktop background to the current image.
This uses `wallpaper-set' (which see)."
  (interactive nil image-mode)
  (wallpaper-set buffer-file-name))