aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/image/wallpaper.el6
1 files changed, 4 insertions, 2 deletions
diff --git a/lisp/image/wallpaper.el b/lisp/image/wallpaper.el
index 31cc2b4eece..19dc20d90b0 100644
--- a/lisp/image/wallpaper.el
+++ b/lisp/image/wallpaper.el
@@ -439,8 +439,10 @@ This is the default function for `wallpaper-set-function'."
439 (setf (process-sentinel process) 439 (setf (process-sentinel process)
440 (lambda (process status) 440 (lambda (process status)
441 (unwind-protect 441 (unwind-protect
442 (unless (and (eq (process-status process) 'exit) 442 (if (and (eq (process-status process) 'exit)
443 (zerop (process-exit-status process))) 443 (zerop (process-exit-status process)))
444 (message "Desktop wallpaper changed to %s"
445 (abbreviate-file-name file))
444 (message "command \"%s %s\": %S" 446 (message "command \"%s %s\": %S"
445 (string-join (process-command process) " ") 447 (string-join (process-command process) " ")
446 (string-replace "\n" "" status) 448 (string-replace "\n" "" status)