Function: c-comment-line-break-function

c-comment-line-break-function is a function alias and interactive for c-indent-new-comment-line, defined in cc-cmds.el.gz.

This command is obsolete since 21.1; use c-indent-new-comment-line instead.

Signature

(c-comment-line-break-function &optional SOFT ALLOW-AUTO-FILL)

Documentation

Break line at point and indent, continuing comment or macro if within one.

If inside a comment and comment-multi-line is non-nil, the indentation and line prefix are preserved (see the c-comment-prefix-regexp and c-block-comment-prefix variables for details). If inside a single line comment and comment-multi-line is nil, a new comment of the same type is started on the next line and indented as appropriate for comments. If inside a macro, a line continuation backslash is inserted and aligned as appropriate, and the new line is indented according to c-syntactic-indentation.

If a fill prefix is specified, it overrides all the above.

Key Bindings

Aliases

c-comment-line-break-function (obsolete since 21.1)