Function: hbut:outside-comment-p
hbut:outside-comment-p is a byte-compiled function defined in hbut.el.
Signature
(hbut:outside-comment-p)
Documentation
True if in a programming mode and regexp match is outside a comment, else nil.
Source Code
;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hbut.el
(defun hbut:outside-comment-p ()
"True if in a programming mode and regexp match is outside a comment, else nil."
(when (and (derived-mode-p 'prog-mode)
(not (derived-mode-p 'lisp-interaction-mode))
(not (memq major-mode hui-select-markup-modes)))
;; Match is outside of a programming language comment
(not (nth 4 (syntax-ppss)))))