summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
diff options
context:
space:
mode:
authorStefan Kangas <stefankangas@gmail.com>2022-09-14 12:12:46 +0200
committerStefan Kangas <stefankangas@gmail.com>2022-09-14 12:57:09 +0200
commit8c3b40254bfa29c843eb4ff967c5e6f7c717bb07 (patch)
tree22262f5aea07ef74541c0f6902a48cc2dee70e19 /lisp/emacs-lisp
parent41a31553197911b6ccdb5da93801ff63cef9b3cf (diff)
downloademacs-8c3b40254bfa29c843eb4ff967c5e6f7c717bb07.tar.gz
emacs-8c3b40254bfa29c843eb4ff967c5e6f7c717bb07.tar.bz2
emacs-8c3b40254bfa29c843eb4ff967c5e6f7c717bb07.zip
Make it easier to customize wallpaper command
* lisp/image/wallpaper.el (wallpaper--default-commands): New defvar. (wallpaper--find-command): Use above new defvar. (wallpaper--find-command-arguments): New defun. (wallpaper-command): Rename from 'wallpaper-commands' and change type to string. Use 'wallpaper--find-command' to set it. (wallpaper-command-args): New defcustom. Use 'wallpaper--find-command-arguments' to set it. (wallpaper--set-wallpaper-command): New defun. Use as :set property for 'wallpaper-command'. (wallpaper-set): Use above new defcustoms to set the wallpaper. Suggested by Eli Zaretskii <eliz@gnu.org>.
Diffstat (limited to 'lisp/emacs-lisp')
0 files changed, 0 insertions, 0 deletions