Skip to content

Commit fd84fad

Browse files
committed
Tweak docstring of cider-docstring--format
1 parent 61a615d commit fd84fad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cider-docstring.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ Prioritize rendering as much as possible while staying within `cider-docstring-m
148148
(concat string (when (> (length lines) max-lines) "..."))))
149149

150150
(defun cider-docstring--format (string)
151-
"Performs formatting of STRING, cleaning up some common whitespace issues."
151+
"Return a nicely formatted STRING to be displayed to the user."
152152
(let* ((string (replace-regexp-in-string "\\. " ".\n\n" string)) ;; improve the formatting of e.g. clojure.core/reduce
153153
(string (mapconcat (lambda (line)
154154
;; Remove spaces at the beginning of each line, as it is common in many clojure.core defns:

0 commit comments

Comments
 (0)