This is a minor mode version of indented-text-mode
.
Enter and leave with M-x auto-indent-mode.
Command: auto-indent-mode
Toggle auto indent mode. With prefix arg, turn auto indent mode on iff arg is positive.
Auto indent mode works by invoking indent-relative
for TAB,
and using indent-relative-maybe
as the
indent-line-function
for auto-fill
, and LFD.