Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

elfeed-curl-retrieve: set default-directory properly #433

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

firmart
Copy link

@firmart firmart commented Aug 1, 2021

If default-directory was deleted by the user when doing other things, it would lead to a file-missing error when the user try to retrieve feeds. Let's bind it to temporary-file-directory so that elfeed-curl-retrieve will not be directory-dependent anymore.

I personally triggered this bug just now, this fix solves the issue.

This is a very classical pattern, cf. a question I asked months ago, which describes the same symptom.

If `default-directory` was deleted by the user when doing other things, it would lead to a `file-missing` error when the user try to retrieve feeds. 
Let's bind it to `temporary-file-directory` so that `elfeed-curl-retrieve` will not be directory-dependent anymore.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant