Skip to content

Commit 531c036

Browse files
committed
Treat , as a non-logical sexpr character
This causes clojure-forward-logical-sexp to skip over , when for instance computing vertical alignments. Fixes #367
1 parent 2462fd8 commit 531c036

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
@@ -1451,7 +1451,7 @@ Returns a list pair, e.g. (\"defn\" \"abc\") or (\"deftest\" \"some-test\")."
14511451
Sexps that don't represent code are ^metadata or #reader.macros."
14521452
(comment-normalize-vars)
14531453
(comment-forward (point-max))
1454-
(looking-at-p "\\^\\|#[?[:alpha:]]"))
1454+
(looking-at-p "\\^\\|#[?[:alpha:]]\\|,"))
14551455

14561456
(defun clojure-forward-logical-sexp (&optional n)
14571457
"Move forward N logical sexps.

0 commit comments

Comments
 (0)