When the buffer contains overlays, it cannot be dumped. Print a
clear message describing the reason, instead of just aborting.
DUMP_FIELD_COPY (out, buffer, long_line_optimizations_p);
if (!itree_empty_p (buffer->overlays))
- /* We haven't implemented the code to dump overlays. */
- emacs_abort ();
+ {
+ /* We haven't implemented the code to dump overlays. */
+ error ("Dumping overlays in buffers is not yet implemented. Aborting...");
+ }
else
out->overlays = NULL;