Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(vc-gutter): disable diff-hl-update-async in with-editor-mode
`diff-hl-update-async` was enabled in f2696d7, causing a regression where with-editor buffers wouldn't get cleaned up properly. This would particularly affect Magit's COMMIT_EDITMSG buffers. To quote jds on Discord: It seems like after committing (with cc in the magit buffer), it leaves COMMIT_EDITMSG around. The next time I try & commit, a single c keypress immediately jumps to the old COMMIT_EDITMSG buffer, but it's inactive - C-c C-c closes that buffer but makes no change to git. I opt for advice instead of find-file or with-editor-mode hooks to restore normal behavior should with-editor-mode be later disabled without the death of its buffer (not relevant to magit, specifically, but it might be to other consumers of with-editor, now or in the future). Ref: dgutov/diff-hl#213 Amend: f2696d7
- Loading branch information