[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#48748: 28.0.50; The xdg-mime-apps-files function contains a dolist o
From: |
Lars Ingebrigtsen |
Subject: |
bug#48748: 28.0.50; The xdg-mime-apps-files function contains a dolist over a cons of strings |
Date: |
Mon, 31 May 2021 06:37:46 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
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