aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman1993-07-25 21:48:55 +0000
committerRichard M. Stallman1993-07-25 21:48:55 +0000
commit76426794809951a8528eee648d716dab7ebc4369 (patch)
tree12982600a978f44ab0a14d132150f007abec1915 /src
parent44b8251a57bc9524378370e2a7035a27bd569298 (diff)
downloademacs-76426794809951a8528eee648d716dab7ebc4369.tar.gz
emacs-76426794809951a8528eee648d716dab7ebc4369.zip
Commented-out code added.
Diffstat (limited to 'src')
-rw-r--r--src/dispnew.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/dispnew.c b/src/dispnew.c
index 32c89674b44..2351724a7be 100644
--- a/src/dispnew.c
+++ b/src/dispnew.c
@@ -1374,6 +1374,25 @@ update_line (frame, vpos)
1374 { 1374 {
1375 int i,j; 1375 int i,j;
1376 1376
1377#if 0
1378 if (FRAME_X_P (frame))
1379 {
1380 /* Under X, erase everything we are going to rewrite,
1381 and rewrite everything from the first char that's changed.
1382 This is part of supporting fonts like Courier
1383 whose chars can overlap outside the char width. */
1384 for (i = 0; i < nlen; i++)
1385 if (i >= olen || nbody[i] != obody[i])
1386 break;
1387
1388 cursor_to (vpos, i);
1389 if (i != olen)
1390 clear_end_of_line (olen);
1391 write_glyphs (nbody + i, nlen - i);
1392 }
1393 else
1394 {}
1395#endif /* 0 */
1377 for (i = 0; i < nlen; i++) 1396 for (i = 0; i < nlen; i++)
1378 { 1397 {
1379 if (i >= olen || nbody[i] != obody[i]) /* A non-matching char. */ 1398 if (i >= olen || nbody[i] != obody[i]) /* A non-matching char. */