Function: asm-newline

asm-newline is a function alias and interactive for newline-and-indent, defined in simple.el.gz.

This command is obsolete since 27.1; use newline-and-indent instead.

Signature

(asm-newline &optional ARG)

Documentation

Insert a newline, then indent according to major mode.

Indentation is done using the value of indent-line-function. In programming language modes, this is the same as TAB. In some text modes, where TAB inserts a tab, this command indents to the column specified by the function current-left-margin.

With ARG, perform this action that many times.

Also see open-line (bound to C-o (open-line)) for a command that just inserts a newline without doing any indentation.

Key Bindings

Aliases

asm-newline (obsolete since 27.1) org-newline-and-indent