Skip to content

Commit dcb96cf

Browse files
committed
Remove obsolete clojure-namespace-name-regex
This variable was deprecated in favor of clojure-namespace-regexp since version 5.12.0.
1 parent 5c85010 commit dcb96cf

1 file changed

Lines changed: 0 additions & 20 deletions

File tree

clojure-mode.el

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -2188,26 +2188,6 @@ content) are considered part of the preceding sexp."
21882188
(message "ns form has been sorted"))))
21892189
(user-error "Can't find ns form")))
21902190

2191-
(defconst clojure-namespace-name-regex
2192-
(rx line-start
2193-
"("
2194-
(zero-or-one (group (regexp "clojure.core/")))
2195-
(zero-or-one (submatch "in-"))
2196-
"ns"
2197-
(zero-or-one "+")
2198-
(one-or-more (any whitespace "\n"))
2199-
(zero-or-more (or (submatch (zero-or-one "#")
2200-
"^{"
2201-
(zero-or-more (not (any "}")))
2202-
"}")
2203-
(zero-or-more "^:"
2204-
(one-or-more (not (any whitespace)))))
2205-
(one-or-more (any whitespace "\n")))
2206-
(zero-or-one (any ":'")) ;; (in-ns 'foo) or (ns+ :user)
2207-
(group (one-or-more (not (any "()\"" whitespace))) symbol-end)))
2208-
2209-
(make-obsolete-variable 'clojure-namespace-name-regex 'clojure-namespace-regexp "5.12.0")
2210-
22112191
(defconst clojure-namespace-regexp
22122192
(rx "(" (? "clojure.core/") (or "in-ns" "ns" "ns+") symbol-end))
22132193

0 commit comments

Comments
 (0)