Files
doomemacs/modules/ui
Henrik Lissner 778fc9ad3f 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: f2696d7302
2024-07-10 18:27:54 -04:00
..
2024-06-21 19:11:30 -04:00
2024-07-02 20:03:16 -04:00
2024-06-21 19:11:30 -04:00
2024-06-21 19:11:30 -04:00
2024-07-02 20:03:16 -04:00
2024-06-28 17:00:58 -04:00
2024-02-04 18:58:53 -05:00
2024-02-04 18:58:53 -05:00

:ui

Description

For modules concerned with changing Emacs' appearance or providing interfaces for its features, like sidebars, tabs, or fonts.

Frequently asked questions

This category has no FAQs yet. Ask one?