Mercurial > emacs
changeset 26546:0f43cc91d6a5
(direct_output_for_insert): Increment glyph positions
for glyphs from buffer text only.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Mon, 22 Nov 1999 17:37:24 +0000 |
parents | 9ea90a3ac301 |
children | 5109bf4601e1 |
files | src/dispnew.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/dispnew.c Mon Nov 22 16:14:41 1999 +0000 +++ b/src/dispnew.c Mon Nov 22 17:37:24 1999 +0000 @@ -3163,7 +3163,7 @@ /* Increment buffer positions for glyphs following the newly inserted ones. */ for (glyph = glyphs + n; glyph < end; ++glyph) - if (glyph->charpos > 0) + if (glyph->charpos > 0 && BUFFERP (glyph->object)) glyph->charpos += delta; if (MATRIX_ROW_END_CHARPOS (glyph_row) > 0)