Skip to content

Commit

Permalink
Treat , as a non-logical sexpr character
Browse files Browse the repository at this point in the history
This causes clojure-forward-logical-sexp to skip over , when for
instance computing vertical alignments.

Fixes clojure-emacs#367
  • Loading branch information
arrdem committed Mar 26, 2016
1 parent 2462fd8 commit 531c036
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clojure-mode.el
Original file line number Diff line number Diff line change
Expand Up @@ -1451,7 +1451,7 @@ Returns a list pair, e.g. (\"defn\" \"abc\") or (\"deftest\" \"some-test\")."
Sexps that don't represent code are ^metadata or #reader.macros."
(comment-normalize-vars)
(comment-forward (point-max))
(looking-at-p "\\^\\|#[?[:alpha:]]"))
(looking-at-p "\\^\\|#[?[:alpha:]]\\|,"))

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

0 comments on commit 531c036

Please sign in to comment.