Skip to content

Commit 642dd4a

Browse files
committed
Prefer thing-at-point over cider-symbol-at-point
1 parent 9eed803 commit 642dd4a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clj-refactor.el

+1-1
Original file line numberDiff line numberDiff line change
@@ -1994,7 +1994,7 @@ If `cljr-magic-requires' is non-nil, executing this command after one of the ali
19941994
listed in `cljr-magic-require-namespaces', or any alias used elsewhere in the project,
19951995
will add the corresponding require statement to the ns form."
19961996
(interactive)
1997-
(let ((original-input (cider-symbol-at-point)))
1997+
(let ((original-input (thing-at-point 'symbol)))
19981998
(insert "/")
19991999
(when-let (aliases (and cljr-magic-requires
20002000
(completable-for-cljr-slash? original-input)

0 commit comments

Comments
 (0)