Skip to content

Commit 8a2eda2

Browse files
committed
Remove dead .cljd entry from clojure-mode auto-mode-alist
The .cljd extension was matched by both the clojure-mode regex and a separate clojuredart-mode entry. Since add-to-list prepends, clojuredart-mode always won, making the clojure-mode match dead code.
1 parent f44ea50 commit 8a2eda2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

clojure-mode.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3465,7 +3465,7 @@ indentation appropriate for data structures rather than code.
34653465
;;;###autoload
34663466
(progn
34673467
(add-to-list 'auto-mode-alist
3468-
'("\\.\\(clj\\|cljd\\|dtm\\|lpy\\)\\'" . clojure-mode))
3468+
'("\\.\\(clj\\|dtm\\|lpy\\)\\'" . clojure-mode))
34693469
(add-to-list 'auto-mode-alist '("\\.edn\\'" . edn-mode))
34703470
(add-to-list 'auto-mode-alist '("\\.cljc\\'" . clojurec-mode))
34713471
(add-to-list 'auto-mode-alist '("\\.cljs\\'" . clojurescript-mode))

0 commit comments

Comments
 (0)