We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4dc4d39 commit 873cbddCopy full SHA for 873cbdd
cider-docstring.el
@@ -142,10 +142,7 @@ Prioritize rendering as much as possible while staying within `cider-docstring-m
142
first-attempt)))
143
144
(cl-defun cider-docstring--trim (string &optional (max-lines cider-docstring-max-lines))
145
- "Returns up to the first MAX-LINES lines of string STRING,
146
-adding \"...\" if trimming was necessary.
147
-
148
-MAX-LINES defaults to `cider-docstring-max-lines'."
+ "Return MAX-LINES of STRING, adding \"...\" if trimming was necessary."
149
(let* ((lines (split-string string "\n"))
150
(string (string-join (seq-take lines max-lines) "\n")))
151
(concat string (when (> (length lines) max-lines) "..."))))
0 commit comments