aboutsummaryrefslogtreecommitdiffstats
path: root/src/term.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/term.c')
-rw-r--r--src/term.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/term.c b/src/term.c
index 91cd9ed3199..ae829071682 100644
--- a/src/term.c
+++ b/src/term.c
@@ -1443,16 +1443,6 @@ calculate_costs (frame)
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.