nil
.
nil
, then newline characters in strings
are printed as `\n' and formfeeds are printed as `\f'.
Normally these characters are printed as actual newlines and formfeeds.
This variable affects the print functions prin1
and print
that print with quoting. It does not affect princ
. Here is an
example using prin1
:
(prin1 "a\nb") -| "a -| b" => "a b" (let ((print-escape-newlines t)) (prin1 "a\nb")) -| "a\nb" => "a b"
In the second expression, the local binding of
print-escape-newlines
is in effect during the call to
prin1
, but not during the printing of the result.
nil
, then unibyte non-ASCII
characters in strings are unconditionally printed as backslash sequences
by the print functions prin1
and print
that print with
quoting.
Those functions also use backslash sequences for unibyte non-ASCII characters, regardless of the value of this variable, when the output stream is a multibyte buffer or a marker pointing into one.
nil
, then multibyte non-ASCII
characters in strings are unconditionally printed as backslash sequences
by the print functions prin1
and print
that print with
quoting.
Those functions also use backslash sequences for multibyte non-ASCII characters, regardless of the value of this variable, when the output stream is a unibyte buffer or a marker pointing into one.
If the value is nil
(the default), then there is no limit.
(setq print-length 2) => 2 (print '(1 2 3 4 5)) -| (1 2 ...) => (1 2 ...)
nil
(which is the default) means no limit.
Go to the first, previous, next, last section, table of contents.