Function: bounds-of-evil-comment-at-point

bounds-of-evil-comment-at-point is a byte-compiled function defined in evil-common.el.

Signature

(bounds-of-evil-comment-at-point)

Documentation

Return the bounds of a string at point.

Source Code

;; Defined in ~/.emacs.d/elpa/evil-20251108.138/evil-common.el
(defun bounds-of-evil-comment-at-point ()
  "Return the bounds of a string at point."
  (save-excursion
    (let ((state (syntax-ppss)))
      (when (nth 4 state)
        (cons (nth 8 state)
              (when (parse-partial-sexp
                     (point) (point-max) nil nil state 'syntax-table)
                (point)))))))