Skip to content

Commit 9400ccf

Browse files
committed
Fix detection of quoted namespaces in in-ns
Caused by leading quotes being detected as part of the symbol
1 parent 60e9cc8 commit 9400ccf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clojure-mode.el

+1-1
Original file line numberDiff line numberDiff line change
@@ -1952,7 +1952,7 @@ DIRECTION is `forward' or `backward'."
19521952
(goto-char end)
19531953
(clojure-forward-logical-sexp)
19541954
(unless (or (clojure--in-string-p) (clojure--in-comment-p))
1955-
(setq candidate (thing-at-point 'symbol)))))))
1955+
(setq candidate (string-trim-left (thing-at-point 'symbol) "'+")))))))
19561956
candidate))
19571957

19581958
(defun clojure-find-ns ()

0 commit comments

Comments
 (0)