insert-buffer-substring an empty string.
+2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
+
+ * insdel.c (insert_from_buffer_1): Don't mark buffer as modified when
+ insert-buffer-substring an empty string.
+
2013-09-11 Paul Eggert <eggert@cs.ucla.edu>
* xdisp.c (Ftool_bar_lines_needed): Declare as 'const' if ifdeffed out,
ptrdiff_t outgoing_nbytes = incoming_nbytes;
INTERVAL intervals;
+ if (nchars == 0)
+ return;
+
/* Make OUTGOING_NBYTES describe the text
as it will be inserted in this buffer. */