clojure-emacs / clojure-emacs/clj-refactor.el

cljr-rename-symbol doesn't play well with 'pretty-mode'

Open
#429 19 comments 1 reaction 0 assignees View on GitHub
Dominant language
Emacs Lisp
Stars
785
Forks
110
PR merge metrics
No merged PRs in 30d

Description

## Steps to reproduce the problem

Run `cljr-rename-symbol` with `foo` renamed to `bar` on

``` clojure
(defn foo [arg1 arg2])
(foo 1 2)
(partial foo 1)
```

## Expected behavior

``` clojure
(defn bar [arg1 arg2])
(bar 1 2)
(partial bar 1)
```

## Actual behavior

``` clojure
(defn bar [arg1 arg2])
(bar 1 2)
(partial foo 1)
```

## Environment & Version information

### CIDER version
```
;; CIDER 0.18.0snapshot (package: 20180802.1919), nREPL 0.2.13
;; Clojure 1.9.0, Java 10.0.1
```

### clj-refactor.el version
2.4.0-SNAPSHOT

### Lein version
Leiningen 2.8.1 on Java 10.0.1 OpenJDK 64-Bit Server VM

### Emacs version
26.1

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.