Function: fortran-comment-indent

fortran-comment-indent is a byte-compiled function defined in fortran.el.gz.

Signature

(fortran-comment-indent)

Documentation

Return the indentation appropriate for the current comment line.

This is 0 for a line matching fortran-comment-line-start-skip, else the value of comment-column (leaving at least one space after code).

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/fortran.el.gz
(defsubst fortran-comment-indent ()
  "Return the indentation appropriate for the current comment line.
This is 0 for a line matching `fortran-comment-line-start-skip', else
the value of `comment-column' (leaving at least one space after code)."
  (if (looking-at fortran-comment-line-start-skip) 0
    (save-excursion
      (skip-chars-backward " \t")
      (max (1+ (current-column)) comment-column))))