technomancy/clojure-mode — pull request #172 by miikka (2013-07-12 19:04:01+00:00)
Title: Correctly fill the docstrings

First, use the fill-column setting of the edited file and not the global one.

Second, fill the first line correctly. Previously the first line of
docstring could be filled to fill-column+1 characters, because the
initial " was dropped out of the fill calculations.

Example of the latter - set fill-column to 70 and clojure-fill-docstring inside the docstring.

```
(defn foo
"foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo quux bar")

;; This is what you should get:
(defn foo
"foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo
quux bar")

;; This is what you got before this patch. There are 71 chars on the first docstring line.
(defn foo
"foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo quux
bar")
```

I'm just a beginner with Emacs Lisp, so hopefully I didn't do anything silly.