Subject: Re: bug#48748: 28.0.50; The xdg-mime-apps-files function contains a dolist over a cons of strings

From: Lars Ingebrigtsen <[email-masked]>
Date: Mon, 31 May 2021 06:37:46 +0200

[email-masked] 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