Skip to content

clojure-mode 5.11

Compare
Choose a tag to compare
@bbatsov bbatsov released this 16 Jul 09:20
· 193 commits to master since this release

New features

  • #496: Highlight [[wikilinks]] in comments.
  • #366: Add support for renaming ns aliases (clojure-rename-ns-alias, default binding C-c C-r n r).
  • #410: Add support for adding an arity to a function (clojure-add-arity, default binding C-c C-r a).

Bugs fixed

  • Dynamic vars whose names contain non-alphanumeric characters are now font-locked correctly.
  • #445 (comment): Proper font-locking for namespaced keywords like for example (s/def ::keyword).
  • #508: Fix font-locking for namespaces with metadata.
  • #506: clojure-mode-display-version correctly displays the package's version.
  • #445, #405, #469: Correct font-locking on string definitions with docstrings, e.g: (def foo "doc" "value"). Correct indentation as well.
  • #518: Fix clojure-find-ns when there's an ns form inside a string.
  • #530: Prevent electric indentation within inlined docstrings.

Changes

  • #524: Add proper indentation rule for delay (same as for future).
  • #538: Refactor clojure-unwind to take numeric prefix argument for unwinding N steps, and universal argument for unwinding completely. The dedicated C-c C-r a binding for clojure-unwind-allis now removed and replaced with the universal arg convention C-u C-c C-r u.