Mercurial > emacs
comparison src/term.c @ 28200:74c497c73315
(calculate_costs): Remove code dealing with X frames.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Sun, 19 Mar 2000 17:01:24 +0000 |
parents | fd4d74bc1e42 |
children | 113efc964095 |
comparison
equal
deleted
inserted
replaced
28199:56a776500341 | 28200:74c497c73315 |
---|---|
1441 : TS_set_scroll_region_1); | 1441 : TS_set_scroll_region_1); |
1442 | 1442 |
1443 FRAME_COST_BAUD_RATE (frame) = baud_rate; | 1443 FRAME_COST_BAUD_RATE (frame) = baud_rate; |
1444 | 1444 |
1445 scroll_region_cost = string_cost (f); | 1445 scroll_region_cost = string_cost (f); |
1446 #ifdef HAVE_X_WINDOWS | |
1447 if (FRAME_X_P (frame)) | |
1448 { | |
1449 do_line_insertion_deletion_costs (frame, 0, ".5*", 0, ".5*", | |
1450 0, 0, | |
1451 x_screen_planes (frame)); | |
1452 scroll_region_cost = 0; | |
1453 return; | |
1454 } | |
1455 #endif | |
1456 | 1446 |
1457 /* These variables are only used for terminal stuff. They are allocated | 1447 /* These variables are only used for terminal stuff. They are allocated |
1458 once for the terminal frame of X-windows emacs, but not used afterwards. | 1448 once for the terminal frame of X-windows emacs, but not used afterwards. |
1459 | 1449 |
1460 char_ins_del_vector (i.e., char_ins_del_cost) isn't used because | 1450 char_ins_del_vector (i.e., char_ins_del_cost) isn't used because |