]> git.eshelyaron.com Git - emacs.git/commit
* src/intervals.c (set_intervals_multibyte_1): Fix bug#61887
authorStefan Monnier <monnier@iro.umontreal.ca>
Sat, 4 Mar 2023 00:13:03 +0000 (19:13 -0500)
committerStefan Monnier <monnier@iro.umontreal.ca>
Sat, 4 Mar 2023 00:13:03 +0000 (19:13 -0500)
commitadc04ad52474113e5a540b33fbefd389b861a89f
tree87974bba339a346947db90e0af131ab56bfd5a1a
parentb3e930d328e2e9a3da4bf5b6c109928532326c06
* src/intervals.c (set_intervals_multibyte_1): Fix bug#61887

When `total_length` is 0 there should be no subtree at all, but
`delete_interval` only deletes one interval, so make sure we don't end
up with some stale child of `i`.
src/intervals.c