branch: elpa/clojure-mode
commit 8a2eda2f6f2c55250a4cdbbf8bd05268bd7ba463
Author: Bozhidar Batsov <[email protected]>
Commit: Bozhidar Batsov <[email protected]>
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.
---
clojure-mode.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/clojure-mode.el b/clojure-mode.el
index 8640cf3cd0..2cf7ae5613 100644
--- a/clojure-mode.el
+++ b/clojure-mode.el
@@ -3465,7 +3465,7 @@ indentation appropriate for data structures rather than
code.
;;;###autoload
(progn
(add-to-list 'auto-mode-alist
- '("\\.\\(clj\\|cljd\\|dtm\\|lpy\\)\\'" . clojure-mode))
+ '("\\.\\(clj\\|dtm\\|lpy\\)\\'" . clojure-mode))
(add-to-list 'auto-mode-alist '("\\.edn\\'" . edn-mode))
(add-to-list 'auto-mode-alist '("\\.cljc\\'" . clojurec-mode))
(add-to-list 'auto-mode-alist '("\\.cljs\\'" . clojurescript-mode))