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/cmds.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/cmds.c')
| -rw-r--r-- | src/cmds.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmds.c b/src/cmds.c index fd337f378bb..5d450fe9a13 100644 --- a/src/cmds.c +++ b/src/cmds.c | |||
| @@ -317,7 +317,7 @@ N was explicitly specified. */) | |||
| 317 | return value; | 317 | return value; |
| 318 | } | 318 | } |
| 319 | 319 | ||
| 320 | int nonundocount; | 320 | static int nonundocount; |
| 321 | 321 | ||
| 322 | /* Note that there's code in command_loop_1 which typically avoids | 322 | /* Note that there's code in command_loop_1 which typically avoids |
| 323 | calling this. */ | 323 | calling this. */ |