In this chapter we describe the commands that are especially useful when you catch a mistake in your text after you have made it, or change your mind while composing text on the fly.
The most fundamental command for correcting erroneous editing is the
undo command C-/ (which is 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
self-inserting characters. 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> (delete-backward-char).
These were described earlier in this manual. See Erasing.