Skip to content

Conversation

weavejester
Copy link
Contributor

When using specify or specify!, clojure-mode currently fails with:

clojure-indent-function: Wrong type argument: number-or-marker-p, (2)

This seems to be because those functions have a clojure-backtracking-indent without an associated clojure-indent defined, as is the case with extend-type and extend-protocol, which have the same indentation scheme.

This PR fixes the issue.

bbatsov added a commit that referenced this pull request Apr 30, 2015
Fix indentation of specify and specify!
@bbatsov bbatsov merged commit 3cef9f3 into clojure-emacs:master Apr 30, 2015
@bbatsov
Copy link
Member

bbatsov commented Apr 30, 2015

👍

@weavejester weavejester deleted the specify-fix branch April 30, 2015 12:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants