Function: indent-to-column

indent-to-column is a function alias and interactive for indent-to, defined in indent.c.

Signature

(indent-to-column COLUMN &optional MINIMUM)

Documentation

Indent from point with tabs and spaces until COLUMN is reached.

Optional second argument MINIMUM says always do at least MINIMUM spaces even if that goes past COLUMN; by default, MINIMUM is zero.

Whether this uses tabs or spaces depends on indent-tabs-mode(var)/indent-tabs-mode(fun).

The return value is the column where the insertion ends.

Key Bindings

Aliases

org-indent-to-column (obsolete since 9.0) indent-to-column