(calculate_costs): Remove code dealing with X frames.
This commit is contained in:
@@ -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.
|
||||
|
||||
10
src/term.c
10
src/term.c
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user