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

autosave: don't save unmodified buffer #3356

Merged
merged 1 commit into from
Jun 17, 2024

Conversation

dmaluka
Copy link
Collaborator

@dmaluka dmaluka commented Jun 16, 2024

Saving a buffer every time without even checking if it was modified (i.e. even when the user is not editing the buffer) is wasteful, especially if the autosave period is set to a short value.

Saving a buffer every time without even checking if it was modified
(i.e. even when the user is not editing the buffer) is wasteful,
especially if the autosave period is set to a short value.
@dmaluka dmaluka mentioned this pull request Jun 16, 2024
@JoeKar JoeKar merged commit dc62dd9 into zyedidia:master Jun 17, 2024
3 checks passed
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.

2 participants