Also for the explanation +1

On Mon, 31 May 2021 at 08:38, dalanicolai <dalanicolai@gmail.com> wrote:
Great! Thank you...

On Mon, 31 May 2021 at 06:37, Lars Ingebrigtsen <larsi@gnus.org> wrote:
dalanicolai@gmail.com writes:

> On Fedora with KDE, evaluating the function `xdg-mime-apps-files`
> (after
> loading the library `xdg`) causes a wrong argument error.
>
> The error is caused by the first dolist receiving a cons of strings
> (the desktop argument is and definitely should be a string). That cons
> should become a list.

I'm guessing the code was only tested when XDG_CURRENT_DESKTOP isn't
defined -- then that cons is the right thing.  I've now pushed a fix to
Emacs 28 that should work when XDG_CURRENT_DESKTOP is defined, too.

--
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no