Next: Forcing Redisplay, Up: Display
The function redraw-frame
clears and redisplays the entire
contents of a given frame (see Frames). This is useful if the
screen is corrupted.
Even more powerful is redraw-display
:
In Emacs, processing user input takes priority over redisplay. If you call these functions when input is available, they don't redisplay immediately, but the requested redisplay does happen eventually—after all the input has been processed.
On text terminals, suspending and resuming Emacs normally also refreshes the screen. Some terminal emulators record separate contents for display-oriented programs such as Emacs and for ordinary sequential display. If you are using such a terminal, you might want to inhibit the redisplay on resumption.