Permalink
Commits on Apr 7, 2017
  1. [Fix #429] Last occurrence sometimes not replaced for `move-to-let` (#…

    …430)
    
    In the following case:
    
    * there are more than one occurrences of an expression
    * and `move-to-let` is not initiated from the last occurrence
    * and the actual bound name is longer than the expression being moved to `let`
    
    the last expression won't be replaced.
    
    The solution: the end of the `let` expression is not cached before calling `clojure--replace-sexps-with-binding`.
    benedekfazekas committed with bbatsov Apr 7, 2017
  2. Update a changelog entry

    bbatsov committed Apr 7, 2017
Commits on Mar 4, 2017
  1. Update the copyright years

    bbatsov committed Mar 4, 2017
Commits on Feb 26, 2017
Commits on Jan 21, 2017
  1. Add a missing docstring

    bbatsov committed Jan 21, 2017
Commits on Dec 21, 2016
  1. Revert "Set the version to 5.6.1"

    This reverts commit 5755ad9.
    bbatsov committed Dec 21, 2016
  2. Release 5.6.1

    bbatsov committed Dec 21, 2016
  3. Set the version to 5.6.1

    bbatsov committed Dec 21, 2016
Commits on Dec 19, 2016
  1. Make `clojure--read-let-bindings` more robust

    Skip forward whitespace characters after reading a sexp to handle cases
    when the let's binding form is not correctly formated.
    
    Also simplify sexp walking logic by starting the walk from inside the
    binding form not outside.
    benedekfazekas committed Dec 19, 2016
Commits on Dec 15, 2016
Commits on Nov 21, 2016
  1. Bump the development version

    bbatsov committed Nov 21, 2016
Commits on Nov 20, 2016
Commits on Nov 18, 2016
  1. Release 5.6.0

    bbatsov committed Nov 18, 2016
Commits on Nov 6, 2016
  1. Update the changelog

    bbatsov committed Nov 6, 2016
  2. Port let related refactorings from clj-refactor.el

    Migrate introduce let, move to let from clj-refactor.el. Add introduce
    expanded let, forward slurp into let and backward slurp into let.
    
    Implementation follows the main outlines of the cljr code but is
    reworked at certain places. Major differences are as follows:
    - Expanded let is introduced: with a prefix argument let introduced N
    lists up with all the occurrences of bound form replaced at addition
    time.
    - New function: slurp function into let form forward and backward. Added
    value again is to replace bounded forms with their bound names in the
    slurped forms. prefix argument can be used again to slurp multiple forms
    into the let.
    - Expand let is not ported from cljr. Instead `paredit-convolute-sexp`
    is advised to replace forms with bound names when used on let like form.
    
    Further notes:
    - `string-trim` is moved upstream from cider (after merging this, cider
    can be refactored to use the trim fns from `clojure-mode`)
    
    Advice `paredit-convolute-sexp' when used on a let form as drop in replacement for `cljr-expand-let`.
    
    Depend on emacs 24.4 as `advice-add` is not available in 24.3 and also
    use `subr-x` for string trimming.
    benedekfazekas committed with bbatsov Oct 17, 2016
Commits on Oct 17, 2016
Commits on Oct 5, 2016
Commits on Oct 4, 2016
  1. Bump the development version

    bbatsov committed Oct 4, 2016
Commits on Aug 3, 2016
  1. Release 5.5.2

    bbatsov committed Aug 3, 2016
Commits on Aug 2, 2016
  1. [Fix #399] Fix font-locking of prefix characters inside keywords (#401)

    - declare # with "_ p" syntax
     - no overwrite for #~@^ chars in font-lock syntax table
    vspinu committed with bbatsov Aug 2, 2016
Commits on Jul 25, 2016
  1. Release version 5.5.1

    bbatsov committed Jul 25, 2016