Skip to content

Commit e4c4346

Browse files
committed
Don't get confused by @ deref in front of namespace aliases
1 parent 9f88174 commit e4c4346

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
@@ -1930,7 +1930,8 @@ the alias in the project."
19301930
(let ((short (thread-last (buffer-substring-no-properties
19311931
(cljr--point-after 'paredit-backward)
19321932
(1- (point)))
1933-
(string-remove-prefix "::"))))
1933+
(string-remove-prefix "::")
1934+
(string-remove-prefix "@"))))
19341935
(unless (or (cljr--resolve-alias short)
19351936
(cljr--js-alias-p short))
19361937
(if-let ((aliases (ignore-errors (cljr--get-aliases-from-middleware)))

0 commit comments

Comments
 (0)