diff options
| author | Richard M. Stallman | 1994-12-06 08:49:33 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1994-12-06 08:49:33 +0000 |
| commit | 9f732a77fc995460909459aa1f26d7281037bd2b (patch) | |
| tree | d9f0dbddb6524ccba1fe90bafa2a9f4860bb80d7 /src | |
| parent | 95b999aae762c02d4316e78c8c92a0084f73edcb (diff) | |
| download | emacs-9f732a77fc995460909459aa1f26d7281037bd2b.tar.gz emacs-9f732a77fc995460909459aa1f26d7281037bd2b.zip | |
(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')
| -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 | |||
| 58 | scrolled off bottom */ | 58 | scrolled off bottom */ |
| 59 | int fast_clear_end_of_line; /* Terminal has a `ce' string */ | 59 | int fast_clear_end_of_line; /* Terminal has a `ce' string */ |
| 60 | 60 | ||
| 61 | int dont_calculate_costs; /* Nonzero means don't bother computing */ | ||
| 62 | /* various cost tables; we won't use them. */ | ||
| 63 | |||
| 64 | /* Nonzero means no need to redraw the entire frame on resuming | 61 | /* Nonzero means no need to redraw the entire frame on resuming |
| 65 | a suspended Emacs. This is useful on terminals with multiple pages, | 62 | a suspended Emacs. This is useful on terminals with multiple pages, |
| 66 | where one page is used for Emacs and another for all else. */ | 63 | where one page is used for Emacs and another for all else. */ |
| @@ -1087,12 +1084,11 @@ extern do_line_insertion_deletion_costs (); | |||
| 1087 | calculate_costs (frame) | 1084 | calculate_costs (frame) |
| 1088 | FRAME_PTR frame; | 1085 | FRAME_PTR frame; |
| 1089 | { | 1086 | { |
| 1090 | register char *f = TS_set_scroll_region ? | 1087 | register char *f = (TS_set_scroll_region |
| 1091 | TS_set_scroll_region | 1088 | ? TS_set_scroll_region |
| 1092 | : TS_set_scroll_region_1; | 1089 | : TS_set_scroll_region_1); |
| 1093 | 1090 | ||
| 1094 | if (dont_calculate_costs) | 1091 | FRAME_COST_BAUD_RATE (frame) = baud_rate; |
| 1095 | return; | ||
| 1096 | 1092 | ||
| 1097 | #ifdef HAVE_X_WINDOWS | 1093 | #ifdef HAVE_X_WINDOWS |
| 1098 | if (FRAME_X_P (frame)) | 1094 | if (FRAME_X_P (frame)) |
| @@ -1390,7 +1386,6 @@ term_init (terminal_type) | |||
| 1390 | initialize_win_nt_display (); | 1386 | initialize_win_nt_display (); |
| 1391 | 1387 | ||
| 1392 | Wcm_clear (); | 1388 | Wcm_clear (); |
| 1393 | dont_calculate_costs = 0; | ||
| 1394 | 1389 | ||
| 1395 | area = (char *) malloc (2044); | 1390 | area = (char *) malloc (2044); |
| 1396 | 1391 | ||
| @@ -1423,7 +1418,6 @@ term_init (terminal_type) | |||
| 1423 | #endif /* WINDOWSNT */ | 1418 | #endif /* WINDOWSNT */ |
| 1424 | 1419 | ||
| 1425 | Wcm_clear (); | 1420 | Wcm_clear (); |
| 1426 | dont_calculate_costs = 0; | ||
| 1427 | 1421 | ||
| 1428 | status = tgetent (buffer, terminal_type); | 1422 | status = tgetent (buffer, terminal_type); |
| 1429 | if (status < 0) | 1423 | if (status < 0) |