HCoop
/
bpt
/
emacs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* src/insdel.c (insert_from_buffer_1): Don't mark buffer as modified when
[bpt/emacs.git]
/
src
/
insdel.c
diff --git
a/src/insdel.c
b/src/insdel.c
index
f746fd3
..
ebd096a
100644
(file)
--- a/
src/insdel.c
+++ b/
src/insdel.c
@@
-1057,6
+1057,9
@@
insert_from_buffer_1 (struct buffer *buf,
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. */