Mercurial > emacs
changeset 4276:2298d2aff61c
Commented-out code added.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sun, 25 Jul 1993 21:48:55 +0000 |
parents | 2ed300d36643 |
children | c3fbb9249f5b |
files | src/dispnew.c |
diffstat | 1 files changed, 19 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/dispnew.c Sun Jul 25 21:46:48 1993 +0000 +++ b/src/dispnew.c Sun Jul 25 21:48:55 1993 +0000 @@ -1374,6 +1374,25 @@ { int i,j; +#if 0 + if (FRAME_X_P (frame)) + { + /* Under X, erase everything we are going to rewrite, + and rewrite everything from the first char that's changed. + This is part of supporting fonts like Courier + whose chars can overlap outside the char width. */ + for (i = 0; i < nlen; i++) + if (i >= olen || nbody[i] != obody[i]) + break; + + cursor_to (vpos, i); + if (i != olen) + clear_end_of_line (olen); + write_glyphs (nbody + i, nlen - i); + } + else + {} +#endif /* 0 */ for (i = 0; i < nlen; i++) { if (i >= olen || nbody[i] != obody[i]) /* A non-matching char. */