| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| clojure-mode v5.24.0 source code.tar.gz | 2026-11-07 | 23.4 MB | |
| clojure-mode v5.24.0 source code.zip | 2026-11-07 | 23.5 MB | |
| README.md | 2026-11-07 | 2.7 kB | |
| Totals: 3 Items | 46.9 MB | 0 | |
New features
- #708: Add
clojure-remove-unused-keys(C-c C-r k), which removes the names the top-level form at point destructures from maps but never uses, along with their:ordefaults.
Changes
- #705: Rename the
#_toggle commands toclojure-toggle-discard,clojure-toggle-discard-surrounding-formandclojure-toggle-discard-defun, matching Clojure's "discard" terminology (the oldclojure-toggle-ignore*names remain as obsolete aliases). - #709: Give
extend-protocol,extend-type,specifyandspecify!the((:block 1) (:inner 1))indent spec thatclojure-ts-modeand cljfmt use, instead of an(:inner 0)rule that only worked because of how it was converted to the legacy format (specs copied from it need(:inner 1)too). - #709: Indent
fdeflike cljfmt does, as((:inner 0)), and listlet*in the built-in indent specs, so thatclojure-get-indent-specreturns its spec. - #709: Add the indent specs that cljfmt and
clojure-ts-modehave andclojure-modelacked, which indents the bodies ofmatchandstruct-map, and the bindings ofwith-open,with-redefsand the like as special arguments. - #710: Drop the indent specs of
async,this-asand core.logic'srun,run*andfresh, which cljfmt andclojure-ts-modedon't have, so they're indented like function calls now (put-clojure-indentbrings them back).
Bugs fixed
- #709: Fix
clojure-get-indent-specandput-clojure-indentconverting legacy indent specs, like those ofletfn,reifyorextend-protocol, to the wrong modern rules. - #709: Fix indenting with a modern indent spec that has an
:innerrule with a position but no:blockrule, like((:inner 1 0)), which signaled an error. - #711: Fix the indentation of
letfnfunctions, and of other forms an:innerrule with an index applies to, when a#_form comes before them, as the discarded form and its#_counted as two arguments. - #707: Highlight
[[var]]and`code`only in strings and comments, so Datalog relation bindings like[[?x]]and destructuring like(fn [[x]] x)aren't colored as constants in code.