Skip to content

clojure-mode 5.7.0

Compare
Choose a tag to compare
@bbatsov bbatsov released this 29 Apr 12:45
· 304 commits to master since this release

New features

  • Add imenu support for multimethods.
  • Make imenu recognize indented def-forms.
  • New interactive command clojure-cycle-when.
  • New interactive command clojure-cycle-not.
  • New defcustom clojure-comment-regexp for font-locking #_ or #_ AND (comment) sexps.
  • #459: Add font-locking for new built-ins added in Clojure 1.9.
  • #471: Support tagged maps (new in Clojure 1.9) in paredit integration.
  • Consider deps.edn a project root.
  • #467: Make prog-mode-map the parent keymap for clojure-mode-map.

Changes

  • Drop support for CLJX.
  • Remove special font-locking of Java interop methods & constants: There is no semantic distinction between interop methods, constants and global vars in Clojure.

Bugs fixed

  • #458: Get correct ns when in middle of ns form with clojure-find-ns
  • #447: When electric-indent-mode is on, force indentation from within docstrings.
  • #438: Filling within a doc-string doesn't affect surrounding code.
  • Fix fill-paragraph in multi-line comments.
  • #443: Fix behavior of clojure-forward-logical-sexp and clojure-backward-logical-sexp with conditional macros.
  • #429: Fix a bug causing last occurrence of expression sometimes is not replaced when using move-to-let.
  • #423: Make clojure-match-next-def more robust against zero-arity def-like forms.
  • #451: Make project root directory calculation customized by clojure-project-root-function.
  • Fix namespace font-locking: namespaces may also contain non alphanumeric chars.