Variable: clojure--keyword-sym-forbidden-1st-chars
clojure--keyword-sym-forbidden-1st-chars is a variable defined in
clojure-mode.el.
Value
"][\";@\\^`~(){}\\, \n
:'"
Documentation
A list of chars that a Clojure keyword symbol cannot start with.
Source Code
;; Defined in ~/.emacs.d/elpa/clojure-mode-20260325.811/clojure-mode.el
(eval-and-compile
(defconst clojure--sym-forbidden-rest-chars "][\";@\\^`~\(\)\{\}\\,\s\t\n\r"
"A list of chars that a Clojure symbol cannot contain.
See definition of `macros': URL `https://git.io/vRGLD'.")
(defconst clojure--sym-forbidden-1st-chars (concat clojure--sym-forbidden-rest-chars "0-9:'")
"A list of chars that a Clojure symbol cannot start with.
See the for-loop: URL `https://git.io/vRGTj' lines: URL
`https://git.io/vRGIh', URL `https://git.io/vRGLE' and value
definition of `macros': URL `https://git.io/vRGLD'.")
(defconst clojure--sym-regexp
(concat "[^" clojure--sym-forbidden-1st-chars "][^" clojure--sym-forbidden-rest-chars "]*")
"A regexp matching a Clojure symbol or namespace alias.
Matches the rule `clojure--sym-forbidden-1st-chars' followed by
any number of matches of `clojure--sym-forbidden-rest-chars'.")
(defconst clojure--keyword-sym-forbidden-1st-chars
(concat clojure--sym-forbidden-rest-chars ":'")
"A list of chars that a Clojure keyword symbol cannot start with.")
(defconst clojure--keyword-sym-regexp
(concat "[^" clojure--keyword-sym-forbidden-1st-chars "]"
"[^" clojure--sym-forbidden-rest-chars "]*")
"A regexp matching a Clojure keyword name or keyword namespace.
Matches the rule `clojure--keyword-sym-forbidden-1st-chars' followed by
any number of matches of `clojure--sym-forbidden-rest-chars'."))