Function: TeX-in-commented-line
TeX-in-commented-line is a byte-compiled function defined in tex.el.
Signature
(TeX-in-commented-line)
Documentation
Return non-nil if point is in a line consisting only of a comment.
The comment can be preceded by whitespace. This means that
TeX-in-commented-line is more general than TeX-in-line-comment
which will not match commented lines with leading whitespace. But
TeX-in-commented-line will match commented lines without leading
whitespace as well.
Source Code
;; Defined in ~/.emacs.d/elpa/auctex-14.1.2/tex.el
(defun TeX-in-commented-line ()
"Return non-nil if point is in a line consisting only of a comment.
The comment can be preceded by whitespace. This means that
`TeX-in-commented-line' is more general than `TeX-in-line-comment'
which will not match commented lines with leading whitespace. But
`TeX-in-commented-line' will match commented lines without leading
whitespace as well."
(save-excursion
(forward-line 0)
(skip-chars-forward " \t")
(string= (buffer-substring-no-properties
(point) (min (point-max) (+ (point) (length comment-start))))
comment-start)))