Function: f90-in-comment

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

Signature

(f90-in-comment)

Documentation

Return non-nil if point is inside a comment.

Checks from point-min, or f90-cache-position, if that is non-nil and lies before point.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/f90.el.gz
(defsubst f90-in-comment ()
  "Return non-nil if point is inside a comment.
Checks from `point-min', or `f90-cache-position', if that is non-nil
and lies before point."
  (let ((beg-pnt
         (if (and f90-cache-position (> (point) f90-cache-position))
             f90-cache-position
           (point-min))))
    (nth 4 (parse-partial-sexp beg-pnt (point)))))