Skip to content

Fix #438 and better detection of doc-strings. #442

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Aug 20, 2017

Conversation

vspinu
Copy link
Contributor

@vspinu vspinu commented Aug 5, 2017

No description provided.

@bbatsov
Copy link
Member

bbatsov commented Aug 5, 2017

You made a typo in the first commit message.

As for the second - I'd replace "Better" with "Improve the" for the sake of consistency with our commit message style.

clojure-mode.el Outdated
@@ -584,7 +583,14 @@ If JUSTIFY is non-nil, justify as well as fill the paragraph."
(concat paragraph-separate "\\|\\s-*\".*[,\\.]$"))
(fill-column (or clojure-docstring-fill-column fill-column))
(fill-prefix (clojure-docstring-fill-prefix)))
(fill-paragraph justify))
(let* ((beg (nth 8 (syntax-ppss)))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd add some comment here explaining what this code does. Even I forget from time to time the behavior of functions like syntax-ppss, which is pretty easy with a name like this and absurd return values.

@vspinu
Copy link
Contributor Author

vspinu commented Aug 5, 2017

You made a typo in the first commit message.

I guess it's time to change the glasses :/

Addressing comments and adding a small fix to the Makefile.

@vspinu
Copy link
Contributor Author

vspinu commented Aug 19, 2017

@bbatsov ping ;)

@bbatsov bbatsov merged commit a6f0592 into clojure-emacs:master Aug 20, 2017
@bbatsov
Copy link
Member

bbatsov commented Aug 20, 2017

pong :-)

mwfogleman pushed a commit to mwfogleman/clojure-mode that referenced this pull request Sep 7, 2017
slipset pushed a commit to slipset/clojure-mode that referenced this pull request Nov 1, 2017
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