Skip to content

Commit 4f8c95e

Browse files
committed
[Fix #465] Fix breakage in cljr-rename-symbol
This was caused by a difference in the behaviour of edn-read and parseedn-read.
1 parent 92d3723 commit 4f8c95e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

clj-refactor.el

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2497,7 +2497,8 @@ See: https://github.com/clojure-emacs/clj-refactor.el/wiki/cljr-promote-function
24972497
(unless (cljr--empty-buffer-p)
24982498
(goto-char (point-min))
24992499
(while (not (cljr--end-of-buffer-p))
2500-
(push (parseedn-read) occurrences))))
2500+
(dolist (edn (parseedn-read))
2501+
(push edn occurrences))))
25012502
occurrences))
25022503

25032504
(defun cljr--find-symbol (symbol ns callback)

0 commit comments

Comments
 (0)