Function: f90-break-line
f90-break-line is an interactive and byte-compiled function defined in
f90.el.gz.
Signature
(f90-break-line &optional NO-UPDATE)
Documentation
Break line at point, insert continuation marker(s) and indent.
Unless in a string or comment, or if the optional argument NO-UPDATE
is non-nil, call f90-update-line after inserting the continuation marker.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/f90.el.gz
(defun f90-break-line (&optional no-update)
"Break line at point, insert continuation marker(s) and indent.
Unless in a string or comment, or if the optional argument NO-UPDATE
is non-nil, call `f90-update-line' after inserting the continuation marker."
(interactive "*P")
(cond ((f90-in-string)
(insert "&\n&"))
((f90-in-comment)
(delete-horizontal-space) ; remove trailing whitespace
(insert "\n" (f90-get-present-comment-type)))
(t (insert "&")
(or no-update (f90-update-line))
(newline 1)
;; FIXME also need leading ampersand if split lexical token (eg ==).
;; Or respect f90-no-break-re.
(if f90-beginning-ampersand (insert "&"))))
(indent-according-to-mode))