1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-07 12:20:39 -08:00

(calculate_costs): Remove code dealing with X frames.

This commit is contained in:
Gerd Moellmann 2000-03-19 17:04:41 +00:00
parent 94ac875b41
commit 2136fdd4f5
2 changed files with 8 additions and 10 deletions

View file

@ -1,3 +1,11 @@
2000-03-19 Gerd Moellmann <gerd@gnu.org>
* xfns.c (select_visual): Don't set dpyinfo->n_planes to the
number of bits per RGB because it's everywhere used as the depth
of the visual.
* term.c (calculate_costs): Remove code dealing with X frames.
2000-03-19 Richard M. Stallman <rms@caffeine.ai.mit.edu>
* lread.c (syms_of_lread): Doc fix for load-convert-to-unibyte.

View file

@ -1443,16 +1443,6 @@ calculate_costs (frame)
FRAME_COST_BAUD_RATE (frame) = baud_rate;
scroll_region_cost = string_cost (f);
#ifdef HAVE_X_WINDOWS
if (FRAME_X_P (frame))
{
do_line_insertion_deletion_costs (frame, 0, ".5*", 0, ".5*",
0, 0,
x_screen_planes (frame));
scroll_region_cost = 0;
return;
}
#endif
/* These variables are only used for terminal stuff. They are allocated
once for the terminal frame of X-windows emacs, but not used afterwards.