aboutsummaryrefslogtreecommitdiffstats
path: root/src/term.c
diff options
context:
space:
mode:
authorGerd Moellmann2000-03-19 17:04:41 +0000
committerGerd Moellmann2000-03-19 17:04:41 +0000
commit2136fdd4f592ae4dfa01e9ae5228b36324d1e8ff (patch)
treed53d113ca53921e62b611299a7f27a0687c0577a /src/term.c
parent94ac875b4113108a02e2a2c15df16d77acadc557 (diff)
downloademacs-2136fdd4f592ae4dfa01e9ae5228b36324d1e8ff.tar.gz
emacs-2136fdd4f592ae4dfa01e9ae5228b36324d1e8ff.zip
(calculate_costs): Remove code dealing with X frames.
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.