Next: Keyboard Macros, Previous: Searching and Replacement, Up: The Emacs Editor [Contents][Index]
In this chapter we describe commands that are useful when you catch
a mistake while editing. The most fundamental of these commands is
the undo command C-/ (also bound to C-x u and C-_).
This undoes a single command, or a
part of a command (as in the case of
query-replace), or several
consecutive character insertions. Consecutive repetitions of
C-/ undo earlier and earlier changes, back to the limit of the
undo information available.
Aside from the commands described here, you can erase text using
deletion commands such as DEL (
These were described earlier in this manual. See Erasing Text.