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

Use buffer-chars-modified-tick to reparse less #53

Merged
merged 1 commit into from
Oct 9, 2017
Merged

Use buffer-chars-modified-tick to reparse less #53

merged 1 commit into from
Oct 9, 2017

Conversation

wasamasa
Copy link
Contributor

@wasamasa wasamasa commented Oct 9, 2017

I've leveraged this trick from company-mode's sources where they use it to detect whether an interactive command changed the buffer. It is more reliable than checking for buffer-modified-p as undos don't reset it.

@felipeochoa felipeochoa merged commit c19d07a into felipeochoa:master Oct 9, 2017
@felipeochoa
Copy link
Owner

Thanks for the PR! Learned a cool new trick today 😃

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