diff options
author | Richard M. Stallman <rms@gnu.org> | 1994-12-06 08:49:33 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1994-12-06 08:49:33 +0000 |
commit | c936e1c280f107c52f55d5a913b17dc357ba0f65 (patch) | |
tree | d6a7d34df46954ef396d20ebefa5c41c4642c3cf /src/term.c | |
parent | b2a658e654375d833e8e8d4e84db800123a602a2 (diff) | |
download | emacs-c936e1c280f107c52f55d5a913b17dc357ba0f65.tar.gz |
(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.
Diffstat (limited to 'src/term.c')
-rw-r--r-- | src/term.c | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/src/term.c b/src/term.c index bdb364ec691..aa9731d3faf 100644 --- a/src/term.c +++ b/src/term.c @@ -58,9 +58,6 @@ int memory_below_frame; /* Terminal remembers lines 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 @@ extern do_line_insertion_deletion_costs (); 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 @@ term_init (terminal_type) initialize_win_nt_display (); Wcm_clear (); - dont_calculate_costs = 0; area = (char *) malloc (2044); @@ -1423,7 +1418,6 @@ term_init (terminal_type) #endif /* WINDOWSNT */ Wcm_clear (); - dont_calculate_costs = 0; status = tgetent (buffer, terminal_type); if (status < 0) |