]> git.eshelyaron.com Git - emacs.git/commit
Fix desktop environment check on Ubuntu
authorStefan Kangas <stefankangas@gmail.com>
Wed, 14 Sep 2022 08:26:07 +0000 (10:26 +0200)
committerStefan Kangas <stefankangas@gmail.com>
Wed, 14 Sep 2022 08:31:46 +0000 (10:31 +0200)
commitd537e4c102c4b37cdbccc9517f569c685fec48d4
tree823c16127728895c49ebd7db96d2b0502b01fc06
parent7d315ce63090e9afe7f10853848f9781fd072c17
Fix desktop environment check on Ubuntu

* lisp/image/wallpaper.el (xdg): Require.
(wallpaper--check-command): Use xdg-current-desktop instead of reading
XDG_CURRENT_DESKTOP directly.  This fixes things on e.g. Ubuntu, where
XDG_CURRENT_DESKTOP might contain a string like "ubuntu:GNOME".
lisp/image/wallpaper.el