Function: octave-indent-new-comment-line

octave-indent-new-comment-line is an interactive and byte-compiled function defined in octave.el.gz.

Signature

(octave-indent-new-comment-line &optional SOFT)

Documentation

Break Octave line at point, continuing comment if within one.

Insert octave-continuation-string before breaking the line unless inside a list. If within a double-quoted string, insert octave-string-continuation-marker instead. Signal an error if within a single-quoted string.

Probably introduced at or before Emacs version 28.1.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/octave.el.gz
;;; Indentation

(defun octave-indent-new-comment-line (&optional soft)
  "Break Octave line at point, continuing comment if within one.
Insert `octave-continuation-string' before breaking the line
unless inside a list.  If within a double-quoted string, insert
`octave-string-continuation-marker' instead.  Signal an error if
within a single-quoted string."
  (interactive)
  (funcall comment-line-break-function soft))