Commit 5a8e149
committed
Fix cl-assertion-failed in diff-hl-revert-hunk caused by track-changes
It disables track-changes-mode inside the temporary diff-hl-revert
buffer. This prevents asynchronous background timers from firing while
execution is suspended at the yes-or-no-p prompt.
Because the buffer is narrowed to highlight the hunk, the tracker
previously attempted to access coordinates outside the visible region,
causing an assertion failure.1 parent 81b7628 commit 5a8e149
1 file changed
Lines changed: 7 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1035 | 1035 | | |
1036 | 1036 | | |
1037 | 1037 | | |
1038 | | - | |
1039 | 1038 | | |
1040 | | - | |
1041 | | - | |
1042 | | - | |
1043 | | - | |
| 1039 | + | |
| 1040 | + | |
| 1041 | + | |
| 1042 | + | |
| 1043 | + | |
| 1044 | + | |
| 1045 | + | |
1044 | 1046 | | |
1045 | 1047 | | |
1046 | 1048 | | |
| |||
0 commit comments