Function: f90-fill-paragraph

f90-fill-paragraph is an interactive and byte-compiled function defined in f90.el.gz.

Signature

(f90-fill-paragraph &optional JUSTIFY)

Documentation

In a comment, fill it as a paragraph, else fill the current statement.

For use as the value of fill-paragraph-function. Passes optional argument JUSTIFY to fill-comment-paragraph. Always returns non-nil (to prevent fill-paragraph being called).

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/f90.el.gz
(defun f90-fill-paragraph (&optional justify)
  "In a comment, fill it as a paragraph, else fill the current statement.
For use as the value of `fill-paragraph-function'.
Passes optional argument JUSTIFY to `fill-comment-paragraph'.
Always returns non-nil (to prevent `fill-paragraph' being called)."
  (interactive "*P")
  (or (fill-comment-paragraph justify)
      (save-excursion
        (f90-next-statement)
        (let ((end (if (bobp) (point) (1- (point)))))
          (f90-previous-statement)
          (f90-fill-region (point) end)))
      t))