Function: clojure--search-comment-macro

clojure--search-comment-macro is a byte-compiled function defined in clojure-mode.el.

Signature

(clojure--search-comment-macro LIMIT)

Documentation

Find comment macros and set the match data.

Search from point up to LIMIT. The region that should be considered a comment is between (match-beginning 1) and (match-end 1).

Source Code

;; Defined in ~/.emacs.d/elpa/clojure-mode-20260325.811/clojure-mode.el
(defun clojure--search-comment-macro (limit)
  "Find comment macros and set the match data.
Search from point up to LIMIT.  The region that should be
considered a comment is between `(match-beginning 1)'
and `(match-end 1)'."
  (let ((result 'retry))
    (while (and (eq result 'retry) (<= (point) limit))
      (condition-case nil
          (setq result (clojure--search-comment-macro-internal limit))
        (end-of-file (setq result nil))
        (scan-error  (setq result 'retry))))
    result))