The Visual LISP code formatter can insert new lines whenever a new line is detected in the text it is formatting.
When the Preserve Existing Line Breaks option is off, the formatter can squeeze a multiple-line expression to the Plane style, if it fits within the right margin.
The following example shows how the Preserve Existing Line Breaks option works.
Initial text:
(if (/= s "Function canceled") (princ (strcat "\nError: " s)) ;single semicolon cmt ) Formatting result if the option is on (default):
(if (/= s "Function canceled") (princ (strcat "\nError: " s ) ) ;single semicolon cmt )
Formatting result when the option is off:
(if (/= s "Function canceled") (princ (strcat "\nError: " s)) ;single semicolon cmt )