Variable: clojure-comment-regexp

clojure-comment-regexp is a customizable variable defined in clojure-mode.el.

Value

"\\(?:#_ *\\)+\\(?1:[^ ]\\)"

Documentation

Comment mode.

The possible values for this variable are keywords indicating what is considered a comment (affecting font locking).

    - Reader macro #_ only - the default
    - Reader macro #_ and (comment)

This variable was added, or its default value changed, in clojure-mode version 5.7.0.

Source Code

;; Defined in ~/.emacs.d/elpa/clojure-mode-20260325.811/clojure-mode.el
(defcustom clojure-comment-regexp clojure--comment-macro-regexp
  "Comment mode.

The possible values for this variable are keywords indicating
what is considered a comment (affecting font locking).

    - Reader macro `#_' only - the default
    - Reader macro `#_' and `(comment)'"
  :type '(choice (const :tag "Reader macro `#_' and `(comment)'" clojure--reader-and-comment-regexp)
                 (other :tag "Reader macro `#_' only" clojure--comment-macro-regexp))
  :package-version '(clojure-mode . "5.7.0"))