|
2 | 2 |
|
3 | 3 | ## master (unreleased) |
4 | 4 |
|
| 5 | +## 5.22.0 (2026-03-03) |
| 6 | + |
5 | 7 | ### New features |
6 | 8 |
|
7 | 9 | * [#687](https://github.com/clojure-emacs/clojure-mode/issues/687): Add `clojure-preferred-build-tool` to control project root detection when multiple build tool files exist. When unset, prefer directories containing `.git` as a tiebreaker. |
8 | 10 | * [#688](https://github.com/clojure-emacs/clojure-mode/issues/688): Add `clojure-discard-face` for `#_` reader discard forms, allowing them to be styled differently from comments. Inherits from `font-lock-comment-face` by default. |
9 | 11 | * Add project root detection for ClojureCLR (`deps-clr.edn`). |
| 12 | +* Give `edn-mode` its own keymap with data-appropriate bindings, excluding code-oriented refactoring commands. |
10 | 13 |
|
11 | 14 | ### Changes |
12 | 15 |
|
13 | 16 | * Update font-locking of built-in dynamic vars for Clojure 1.12. |
14 | 17 | * Update `clojure-mode-extra-font-locking` for Clojure 1.10-1.12 (new functions in `clojure.core` and other bundled namespaces). |
15 | 18 | * Add `clojure.repl` section to `clojure-mode-extra-font-locking`. |
16 | 19 | * Remove non-existent entries from `clojure-mode-extra-font-locking` (`specify`, `specify!`, `special-form-anchor`, `syntax-symbol-anchor`, `stream?`). |
| 20 | +* Extend `clojure--check-wrong-major-mode` to cover all derived modes (`.cljd`, `.jank`, `.joke`, `.edn`). |
| 21 | +* Remove dead `.cljd` entry from `clojure-mode` `auto-mode-alist`. |
17 | 22 |
|
18 | 23 | ### Bugs fixed |
19 | 24 |
|
|
23 | 28 | * [#365](https://github.com/clojure-emacs/clojure-mode/issues/365): Font-lock function names in `letfn` bindings with `font-lock-function-name-face`. |
24 | 29 | * [#527](https://github.com/clojure-emacs/clojure-mode/issues/527): Fix `clojure-sort-ns` mangling `:gen-class` and other non-sortable ns forms. |
25 | 30 | * [#619](https://github.com/clojure-emacs/clojure-mode/issues/619): Fix `clojure-thread-last-all` breaking forms containing line comments by absorbing closing parens into comments. |
| 31 | +* [#610](https://github.com/clojure-emacs/clojure-mode/issues/610): Fix `edn-mode` indentation to treat all paren lists as data rather than function calls. |
| 32 | +* Fix `clojure-update-ns` broken by the removal of `clojure-namespace-name-regex`. |
26 | 33 | * Fix typos in `clojure-mode-extra-font-locking`: `halt-when?` -> `halt-when`, `simple-indent?` -> `simple-ident?`. |
27 | 34 | * Fix `doc` and `find-doc` misplaced under `clojure.core` instead of `clojure.repl` in extra font-locking. |
28 | 35 |
|
|
0 commit comments