diff options
| author | Stefan Monnier | 2010-03-31 00:14:08 -0400 |
|---|---|---|
| committer | Stefan Monnier | 2010-03-31 00:14:08 -0400 |
| commit | 855a0da7fdb9c33761d7ba3ad6ab66a41bc2d1f3 (patch) | |
| tree | 7e136862fdaf8e885e1706be53e92914c8f27a0b /src/sysdep.c | |
| parent | dcf7843e7e1a857c21e39c2a5e53d27039a34a3a (diff) | |
| download | emacs-855a0da7fdb9c33761d7ba3ad6ab66a41bc2d1f3.tar.gz emacs-855a0da7fdb9c33761d7ba3ad6ab66a41bc2d1f3.zip | |
Get rid of the direct_output optimizations.
* keyboard.c (nonundocount): Remove extern declaration.
(command_loop_1): Remove brittle optimisation for cheap and common operations.
* xdisp.c (redisplay_internal): Don't bother checking
redisplay_performed_directly_p any more.
* sysdep.c (init_sys_modes): Don't call direct_output_forward_char any more.
* dispnew.c (redisplay_performed_directly_p)
(direct_output_for_insert, direct_output_forward_char):
* dispextern.h (redisplay_performed_directly_p)
(direct_output_for_insert, direct_output_forward_char): Remove.
* cmds.c (nonundocount): Make it static.
Diffstat (limited to 'src/sysdep.c')
| -rw-r--r-- | src/sysdep.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/sysdep.c b/src/sysdep.c index 2f79a711cfd..73209b03c08 100644 --- a/src/sysdep.c +++ b/src/sysdep.c | |||
| @@ -1401,9 +1401,8 @@ init_sys_modes (tty_out) | |||
| 1401 | 1401 | ||
| 1402 | if (tty_out->term_initted && no_redraw_on_reenter) | 1402 | if (tty_out->term_initted && no_redraw_on_reenter) |
| 1403 | { | 1403 | { |
| 1404 | /* XXX This seems wrong on multi-tty. */ | 1404 | /* We used to call "direct_output_forward_char(0)" here, |
| 1405 | if (display_completed) | 1405 | but it's not clear why, since it may not do anything anyway. */ |
| 1406 | direct_output_forward_char (0); | ||
| 1407 | } | 1406 | } |
| 1408 | else | 1407 | else |
| 1409 | { | 1408 | { |