; Fix last change

This commit is contained in:
Eli Zaretskii 2023-03-29 21:28:02 +03:00
parent 09fece5722
commit a14c3f62a6

View file

@ -76,7 +76,7 @@ Used by `eww--download-directory', which see."
The default is specified by `eww-download-directory'; however, The default is specified by `eww-download-directory'; however,
if that directory doesn't exist and the DOWNLOAD XDG user directory if that directory doesn't exist and the DOWNLOAD XDG user directory
is defined, use the latter instead." is defined, use the latter instead."
(or (and (file-exists-p eww-download-directory) (or (and (file-exists-p eww-default-download-directory)
eww-default-download-directory) eww-default-download-directory)
(when-let ((dir (xdg-user-dir "DOWNLOAD"))) (when-let ((dir (xdg-user-dir "DOWNLOAD")))
(file-name-as-directory dir)) (file-name-as-directory dir))