Variable: hs-inside-comment-predicate

hs-inside-comment-predicate is a buffer-local variable defined in hideshow.el.gz.

Documentation

Function used to check if point is inside a comment.

If point is inside a comment, the function should return a list containing the buffer position of the start and the end of the comment, otherwise it should return nil.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/hideshow.el.gz
(defvar-local hs-inside-comment-predicate #'hs-inside-comment-p--default
  "Function used to check if point is inside a comment.
If point is inside a comment, the function should return a list
containing the buffer position of the start and the end of the
comment, otherwise it should return nil.")