]> git.eshelyaron.com Git - emacs.git/commit
Allow setting wallpaper from TTY
authorStefan Kangas <stefankangas@gmail.com>
Wed, 14 Sep 2022 08:52:39 +0000 (10:52 +0200)
committerStefan Kangas <stefankangas@gmail.com>
Wed, 14 Sep 2022 09:00:29 +0000 (11:00 +0200)
commitbfafe4aacceb213fbfd7d92bfd6362a13cbdc667
tree78ddc18f404b819d6afea3a15628dd07c76ce51a
parentac479598f127b02d34f8c2f784386462605a4ba7
Allow setting wallpaper from TTY

* lisp/image/wallpaper.el (wallpaper-set): Allow setting wallpaper
when 'display-graphic-p' is nil.
(wallpaper-default-width, wallpaper-default-height):
New variables.
(wallpaper--get-height-or-width): New helper function.
lisp/image/wallpaper.el