aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJoakim Verona2013-09-11 14:42:07 +0200
committerJoakim Verona2013-09-11 14:42:07 +0200
commit0b086327ccb086dadf737286ffd54d5418e181c4 (patch)
tree2d16a9521fc5b00ca2eedfa8870ba80944ac34cb /src
parent41390a42c5c18af8a112d7481875fe25e42b659c (diff)
parentfeeff482d80b9f37d083497b2d3a9fec8bc58757 (diff)
downloademacs-0b086327ccb086dadf737286ffd54d5418e181c4.tar.gz
emacs-0b086327ccb086dadf737286ffd54d5418e181c4.zip
merge from trunk
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog5
-rw-r--r--src/insdel.c3
2 files changed, 8 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 6e527b996dd..db08fe6aae8 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,8 @@
12013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * insdel.c (insert_from_buffer_1): Don't mark buffer as modified when
4 insert-buffer-substring an empty string.
5
12013-09-11 Paul Eggert <eggert@cs.ucla.edu> 62013-09-11 Paul Eggert <eggert@cs.ucla.edu>
2 7
3 * xdisp.c (Ftool_bar_lines_needed): Declare as 'const' if ifdeffed out, 8 * xdisp.c (Ftool_bar_lines_needed): Declare as 'const' if ifdeffed out,
diff --git a/src/insdel.c b/src/insdel.c
index f746fd34330..ebd096a2927 100644
--- a/src/insdel.c
+++ b/src/insdel.c
@@ -1057,6 +1057,9 @@ insert_from_buffer_1 (struct buffer *buf,
1057 ptrdiff_t outgoing_nbytes = incoming_nbytes; 1057 ptrdiff_t outgoing_nbytes = incoming_nbytes;
1058 INTERVAL intervals; 1058 INTERVAL intervals;
1059 1059
1060 if (nchars == 0)
1061 return;
1062
1060 /* Make OUTGOING_NBYTES describe the text 1063 /* Make OUTGOING_NBYTES describe the text
1061 as it will be inserted in this buffer. */ 1064 as it will be inserted in this buffer. */
1062 1065