-
Is it possible to add newlines to Common Lisp docstrings? I mean newlines like the Emacs Lisp docstring convention: (defun square (x)
"Compute the square.
Multiplies the argument X by itself and returns the result.
No input validation is done, so the function assumes X to be
a number."
(* x x)) In SEdit, if I type |
Beta Was this translation helpful? Give feedback.
Answered by
masinter
Mar 7, 2024
Replies: 1 comment
-
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
pamoroso
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
A control-M doesn't display prettily in SEdit, apparently, but it is the proper encoding of a newline in Lisp.
If you type an 'enter' in SEdit it will create the correct string, which shows up on the file as a bare eol with no left-margin indentation. If you save square on a file and 'see squarefile' or just 'pp square' it will show up