]> git.eshelyaron.com Git - emacs.git/commitdiff
(calculate_costs): Remove code dealing with X frames.
authorGerd Moellmann <gerd@gnu.org>
Sun, 19 Mar 2000 17:04:41 +0000 (17:04 +0000)
committerGerd Moellmann <gerd@gnu.org>
Sun, 19 Mar 2000 17:04:41 +0000 (17:04 +0000)
src/ChangeLog
src/term.c

index 19174905709f41f14e81d932918451abc943ef28..93e823be2d2187f980706e62dc0e1a32ffefe438 100644 (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.
index 91cd9ed31991d0afcfa8e07869e15c9d45fcb0fb..ae829071682e153d9d7d005cdf54ecbb72d4af34 100644 (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.