diff options
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/image/wallpaper.el | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/image/wallpaper.el b/lisp/image/wallpaper.el index d024d6238cb..fe6882a5880 100644 --- a/lisp/image/wallpaper.el +++ b/lisp/image/wallpaper.el @@ -254,6 +254,8 @@ On Haiku, no external command is needed, so the value of ((featurep 'haiku) (haiku-set-wallpaper file)) (t + (unless wallpaper-command + (error "Couldn't find a command to set the wallpaper with")) (let* ((fmt-spec `((?f . ,(expand-file-name file)) (?h . ,(wallpaper--get-height-or-width "height" |