changeset 10121:3f9f77a9488d

(calculate_costs): Set FRAME_COST_BAUD_RATE. Don't test dont_calculate_costs. (dont_calculate_costs): Variable deleted. (term_init): Don't set dont_calculate_costs.
author Richard M. Stallman <rms@gnu.org>
date Tue, 06 Dec 1994 08:49:33 +0000
parents 8b5ae8d2eefc
children 3de6776ae141
files src/term.c
diffstat 1 files changed, 4 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/src/term.c	Tue Dec 06 08:49:18 1994 +0000
+++ b/src/term.c	Tue Dec 06 08:49:33 1994 +0000
@@ -58,9 +58,6 @@
 				   scrolled off bottom */
 int fast_clear_end_of_line;	/* Terminal has a `ce' string */
 
-int dont_calculate_costs;	/* Nonzero means don't bother computing */
-				/* various cost tables; we won't use them.  */
-
 /* Nonzero means no need to redraw the entire frame on resuming
    a suspended Emacs.  This is useful on terminals with multiple pages,
    where one page is used for Emacs and another for all else. */
@@ -1087,12 +1084,11 @@
 calculate_costs (frame)
      FRAME_PTR frame;
 {
-  register char *f = TS_set_scroll_region ?
-                       TS_set_scroll_region
-		     : TS_set_scroll_region_1;
+  register char *f = (TS_set_scroll_region
+		      ? TS_set_scroll_region
+		      : TS_set_scroll_region_1);
 
-  if (dont_calculate_costs)
-    return;
+  FRAME_COST_BAUD_RATE (frame) = baud_rate;
 
 #ifdef HAVE_X_WINDOWS
   if (FRAME_X_P (frame))
@@ -1390,7 +1386,6 @@
   initialize_win_nt_display ();
 
   Wcm_clear ();
-  dont_calculate_costs = 0;
 
   area = (char *) malloc (2044);
 
@@ -1423,7 +1418,6 @@
 #endif /* WINDOWSNT */
 
   Wcm_clear ();
-  dont_calculate_costs = 0;
 
   status = tgetent (buffer, terminal_type);
   if (status < 0)