Skip to content

Commit a180e95

Browse files
yuhan0bbatsov
authored andcommitted
Fix detection of quoted namespaces in in-ns
Caused by leading quotes being detected as part of the symbol
1 parent dde76b2 commit a180e95

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clojure-mode.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1958,7 +1958,7 @@ DIRECTION is `forward' or `backward'."
19581958
(goto-char end)
19591959
(clojure-forward-logical-sexp)
19601960
(unless (or (clojure--in-string-p) (clojure--in-comment-p))
1961-
(setq candidate (thing-at-point 'symbol)))))))
1961+
(setq candidate (string-remove-prefix "'" (thing-at-point 'symbol))))))))
19621962
candidate))
19631963

19641964
(defun clojure-find-ns ()

0 commit comments

Comments
 (0)