Function: ert-font-lock--line-comment-p
ert-font-lock--line-comment-p is a byte-compiled function defined in
ert-font-lock.el.gz.
Signature
(ert-font-lock--line-comment-p)
Documentation
Return t if the current line is a comment-only line.
Source Code
;; Defined in /usr/src/emacs/lisp/emacs-lisp/ert-font-lock.el.gz
(defun ert-font-lock--line-comment-p ()
"Return t if the current line is a comment-only line."
(syntax-ppss)
(save-excursion
(beginning-of-line)
(skip-syntax-forward " ")
;; skip empty lines
(unless (eolp)
(or
;; multiline comments
(ert-font-lock--in-comment-p)
;; single line comments
(ert-font-lock--comment-start-p)))))