aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGerd Moellmann1999-11-22 17:38:21 +0000
committerGerd Moellmann1999-11-22 17:38:21 +0000
commitf2fa858fe4c6490379825cf1186b4a6b9585ddf1 (patch)
tree6c22a9f4b01865e053334aa45855d6e3df09679d /src
parent855b9e3374162932cf331c17c6b2d50ddb54e8c9 (diff)
downloademacs-f2fa858fe4c6490379825cf1186b4a6b9585ddf1.tar.gz
emacs-f2fa858fe4c6490379825cf1186b4a6b9585ddf1.zip
(direct_output_for_insert): Increment glyph positions
for glyphs from buffer text only.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog3
-rw-r--r--src/dispnew.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index cb863bc4c66..412ab67cb44 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,8 @@
11999-11-22 Gerd Moellmann <gerd@gnu.org> 11999-11-22 Gerd Moellmann <gerd@gnu.org>
2 2
3 * dispnew.c (direct_output_for_insert): Increment glyph positions
4 for glyphs from buffer text only.
5
3 * emacs.c (gdb_valbits, gdb_gctypebits, gdb_emacs_intbits) 6 * emacs.c (gdb_valbits, gdb_gctypebits, gdb_emacs_intbits)
4 (gdb_data_seg_bits): New variables. 7 (gdb_data_seg_bits): New variables.
5 8
diff --git a/src/dispnew.c b/src/dispnew.c
index f610238ea22..e827b520da0 100644
--- a/src/dispnew.c
+++ b/src/dispnew.c
@@ -3163,7 +3163,7 @@ direct_output_for_insert (g)
3163 /* Increment buffer positions for glyphs following the newly 3163 /* Increment buffer positions for glyphs following the newly
3164 inserted ones. */ 3164 inserted ones. */
3165 for (glyph = glyphs + n; glyph < end; ++glyph) 3165 for (glyph = glyphs + n; glyph < end; ++glyph)
3166 if (glyph->charpos > 0) 3166 if (glyph->charpos > 0 && BUFFERP (glyph->object))
3167 glyph->charpos += delta; 3167 glyph->charpos += delta;
3168 3168
3169 if (MATRIX_ROW_END_CHARPOS (glyph_row) > 0) 3169 if (MATRIX_ROW_END_CHARPOS (glyph_row) > 0)