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 e330674 commit 6ea2cc3Copy full SHA for 6ea2cc3
cider-docstring.el
@@ -157,7 +157,8 @@ that it usually has two spaces before each line used for indentation
157
\(see https://guide.clojure.style/#docstring-indentation). While displaying
158
the docstring to the user, we usually want to control indentation and
159
other aspects of the presentation, so we format it before displaying."
160
- (replace-regexp-in-string "\n " "\n" string))
+ (when string
161
+ (replace-regexp-in-string "\n " "\n" string)))
162
163
(provide 'cider-docstring)
164
;;; cider-docstring.el ends here
0 commit comments