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

Fix invalid coding system on recover-this-file #25

Merged
merged 2 commits into from
Feb 19, 2024

Conversation

meliache
Copy link

This PR aims to fix #23. The same problem happened in wakatime-mode and @h2oota explained it here:

'auto-save-coding is a pseudo-coding-system used in (recover-file FILE). This error occurs when attempting to evaluate it > as a coding-system outside of the recover-file function.
This occurs in wakatime-mode wakatime-call.

I just adapted their solution one to one. Now, in activity-watch--call, coding-system-for-read is effectively set to nil if it's not equal to auto-save-coding. For me and @benthamite this seems to work.

Fixes #23.

@pauldub
Copy link
Owner

pauldub commented Feb 19, 2024

Thank you for back-porting this fix. 🙏

@pauldub pauldub merged commit 1415bcd into pauldub:master Feb 19, 2024
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.

activity-watch-mode conflicts with recover-this-file
2 participants