Do not avoid creating empty evaporating overlays (Bug#9642).
authorTroels Nielsen <bn.troels@gmail.com>
Tue, 29 May 2012 16:13:38 +0000 (09:13 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 29 May 2012 16:13:38 +0000 (09:13 -0700)
commit471fe23dc58361ecad3679a3a57a9f7d949e34d2
tree52d4e9f54a5a2b436ae9c0f9a09dfff580f6e90d
parent6876a58db34b81e411293b5ee8d161aa451fd767
Do not avoid creating empty evaporating overlays (Bug#9642).

* buffer.c (Fmove_overlay): Reinstate the earlier fix for
Bug#9642, but explicitly check that the buffer the overlay would
be moved to is live and rearrange lines to make sure that errors
will not put the overlay in an inconsistent state.
(Fdelete_overlay): Cosmetics.
src/ChangeLog
src/buffer.c