From: Gerd Moellmann Date: Sun, 19 Mar 2000 17:04:41 +0000 (+0000) Subject: (calculate_costs): Remove code dealing with X frames. X-Git-Tag: emacs-pretest-21.0.90~4595 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=2136fdd4f592ae4dfa01e9ae5228b36324d1e8ff;p=emacs.git (calculate_costs): Remove code dealing with X frames. --- diff --git a/src/ChangeLog b/src/ChangeLog index 19174905709..93e823be2d2 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,11 @@ +2000-03-19 Gerd Moellmann + + * 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 * lread.c (syms_of_lread): Doc fix for load-convert-to-unibyte. 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) 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.