[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#41030: [PATCH] Make EWW respect XDG download directory by default
From: |
Stefan Kangas |
Subject: |
bug#41030: [PATCH] Make EWW respect XDG download directory by default |
Date: |
Mon, 04 May 2020 00:52:06 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Philip K <philip@warpmail.net> writes:
> -(defcustom eww-download-directory "~/Downloads/"
> +(defcustom eww-download-directory (or (xdg-user-dir "DOWNLOAD")
> + "~/Downloads/")
This makes sense conceptually. However, on my machine, evaluating
(xdg-user-dir "DOWNLOAD") just returns $HOME. That's a worse default
than "~/Downloads/", no?
But I don't know enough about the XDG standard to propose a solution.
Nor do I know if this is because my setup is particularly unusual.
Lars, what do you think?
Best regards,
Stefan Kangas