Skip to content

Commit b782d4f

Browse files
committed
Associate boot profile scripts with clojure-mode
Both build.boot and profile.boot are clojure source files
1 parent 2d74f42 commit b782d4f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clojure-mode.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1046,7 +1046,7 @@ Returns a list pair, e.g. (\"defn\" \"abc\") or (\"deftest\" \"some-test\")."
10461046
(add-to-list 'auto-mode-alist
10471047
'("\\.\\(clj[csx]?\\|dtm\\|edn\\)\\'" . clojure-mode))
10481048
;; boot build scripts are Clojure source files
1049-
(add-to-list 'auto-mode-alist '("\\`build.boot\\'" . clojure-mode)))
1049+
(add-to-list 'auto-mode-alist '("\\(?:build\\|profile\\)\\.boot\\'" . clojure-mode)))
10501050

10511051
(provide 'clojure-mode)
10521052

0 commit comments

Comments
 (0)