1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-29 07:58:28 +00:00
emacs/lisp/image
Stefan Kangas 5e83c0117e Fix setting the wallpaper with "swaybg" and "wbg"
* lisp/image/wallpaper.el (wallpaper-setter): Add 'init-action'
and 'detach' fields to structure.
(wallpaper--init-action-kill): New helper function.
(wallpaper--default-setters): Use above new fields for "swaybg" and
"wbg", to start/restart the corresponding processes as needed.
(wallpaper-default-set-function): Call 'init-action' function if
there is one.  If 'detach', use 'call-process' instead of
'start-process'.  (Bug#57781)

* test/lisp/image/wallpaper-tests.el (wallpaper--find-setter)
(wallpaper--find-setter/call-predicate)
(wallpaper--find-setter/set-current-setter)
(wallpaper-set/runs-command, wallpaper-set/runs-command/detach)
(wallpaper-set/calls-init-action)
(wallpaper-set/calls-wallpaper-set-function): New tests.
2022-10-07 22:07:09 +02:00
..
compface.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
exif.el Fix some misleading quoting in cl-case 2022-09-13 18:19:26 +02:00
gravatar.el Make some additional defcustom types more restrictive 2022-07-06 19:29:51 +02:00
image-converter.el Tweak image-converter-add-handler interface 2022-07-13 01:53:20 +02:00
image-crop.el Make bounding box of 'image-crop' more noticeable 2022-09-23 18:11:25 +02:00
image-dired-dired.el ; Fix debugging image-dired-dired-toggle-marked-thumbs 2022-09-28 12:36:42 +02:00
image-dired-external.el ; image-dired: Fix last commit 2022-09-18 02:48:47 +02:00
image-dired-tags.el image-dired: Use command substitution for tags bindings 2022-09-24 11:26:06 +02:00
image-dired-util.el ; image-dired: Fix last change 2022-09-28 14:29:11 +02:00
image-dired.el image-dired: Shorten several long names 2022-10-04 17:36:09 +02:00
wallpaper.el Fix setting the wallpaper with "swaybg" and "wbg" 2022-10-07 22:07:09 +02:00