Scieneer Common Lisp 1.3.9 online documentation

pprint-newline kind &optional stream[Function]

Output a conditional newline to stream, which defaults to *standard-output*, if it is a pretty-printing stream and *print-pretty* is true, otherwise do nothing. The kind can be one of:

:linear
A line break is inserted if and only if the immediatly containing section cannot be printed on one line.
:miser
Same as :linear, but only if ``miser-style'' is in effect. See *print-miser-width*.
:fill
A line break is inserted if and only if either:
  • The following section cannot be printed on the end of the current line,

  • The preceding section was not printed on a single line, or

  • The immediately containing section cannot be printed on one line and miser-style is in effect.

:mandatory
A line break is always inserted.

When a line break is inserted by any type of conditional newline, any blanks that immediately precede the conditional newline are ommitted from the output and indentation is introduced at the beginning of the next line. See pprint-indent.