diff options
| author | Gerd Moellmann | 1999-11-22 17:38:21 +0000 |
|---|---|---|
| committer | Gerd Moellmann | 1999-11-22 17:38:21 +0000 |
| commit | f2fa858fe4c6490379825cf1186b4a6b9585ddf1 (patch) | |
| tree | 6c22a9f4b01865e053334aa45855d6e3df09679d /src | |
| parent | 855b9e3374162932cf331c17c6b2d50ddb54e8c9 (diff) | |
| download | emacs-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/ChangeLog | 3 | ||||
| -rw-r--r-- | src/dispnew.c | 2 |
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 @@ | |||
| 1 | 1999-11-22 Gerd Moellmann <gerd@gnu.org> | 1 | 1999-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) |