Function: TeX-in-line-comment
TeX-in-line-comment is a byte-compiled function defined in tex.el.
Signature
(TeX-in-line-comment)
Documentation
Return non-nil if point is in a line comment.
A line comment is a comment starting in column one, that is, there is no whitespace before the comment sign.
Source Code
;; Defined in ~/.emacs.d/elpa/auctex-14.1.2/tex.el
(defun TeX-in-line-comment ()
"Return non-nil if point is in a line comment.
A line comment is a comment starting in column one, that is, there is
no whitespace before the comment sign."
(save-excursion
(forward-line 0)
(string= (buffer-substring-no-properties
(point) (min (point-max) (+ (point) (length comment-start))))
comment-start)))