With M-q
(aka fill-paragraph
), it is possible to format a single line of text nicely.
Is there a command or function which does a similar thing for lisps s-expressions?
It should break one-liner lisp expression where it is reasonable.
A command or function is searched.
I do not want a mode which is constantly formating the s-expressions.
Edit: Thanks to Drews comment I realized that fill-paragraph
does not get called by M-q
in paredit mode.