Variable: wallpaper-set-function

wallpaper-set-function is a variable defined in wallpaper.el.gz.

Value

wallpaper-default-set-function

Documentation

Function used by wallpaper-set to set the wallpaper.

The function takes one argument, FILE, which is the file name of the image file to set the wallpaper to.

Source Code

;; Defined in /usr/src/emacs/lisp/image/wallpaper.el.gz
(defvar wallpaper-set-function
  (cond ((fboundp 'w32-set-wallpaper)
         #'w32-set-wallpaper)
        ((and (fboundp 'haiku-set-wallpaper)
              (featurep 'haiku))
         'haiku-set-wallpaper)
        (#'wallpaper-default-set-function))
  "Function used by `wallpaper-set' to set the wallpaper.
The function takes one argument, FILE, which is the file name of
the image file to set the wallpaper to.")