Skip to content

Commit 2564f24

Browse files
authored
Merge pull request #360 from areina/fix-cljr--normalize-symbol-name
Fix cljr--normalize-symbol-name for `#'` prefix
2 parents 83b72bb + 59c0eba commit 2564f24

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
- [#339](https://github.com/clojure-emacs/clj-refactor.el/issues/339) Teach stop refer to understand multiline refer clauses.
2929
- [#341](https://github.com/clojure-emacs/clj-refactor.el/issues/341) Avoid creating circular dependencies with move form when source namespace refers to the target namespace with a require.
3030
- [refactor-nrepl#183](https://github.com/clojure-emacs/refactor-nrepl/issues/183) Applied conversion between Unix-like path generated by Emacs under Cygwin and Windows-like path required by nREPL. Cider functions `cider-to-nrepl-filename-function` and `cider-from-nrepl-filename-function` are used.
31+
- Fix `cljr--normalize-symbol-name` when the symbol name starts with `#'`.
3132

3233
## 2.2.0
3334

clj-refactor.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2727,7 +2727,7 @@ Date. -> Date
27272727
((s-ends-with-p "." name)
27282728
(->> name (s-chop-suffix ".") cljr--normalize-symbol-name))
27292729
((s-starts-with-p "#'" name)
2730-
(-> name (s-chop-prefix "#'") cljr--normalize-symbol-name))
2730+
(->> name (s-chop-prefix "#'") cljr--normalize-symbol-name))
27312731
((s-starts-with-p "'" name)
27322732
(->> name (s-chop-prefix "'") cljr--normalize-symbol-name))
27332733
((s-starts-with-p "~" name)

0 commit comments

Comments
 (0)