aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorPaul Eggert2018-02-27 20:13:00 -0800
committerPaul Eggert2018-02-27 20:13:37 -0800
commit5e69219fdaf37445e4508c3413084d66057bc99f (patch)
treec57e32704b77d3674372ef32df989e2401bdbfe1 /doc
parentc00fea918e1ab387d88fde3ff4950b9f7fe6e04a (diff)
downloademacs-5e69219fdaf37445e4508c3413084d66057bc99f.tar.gz
emacs-5e69219fdaf37445e4508c3413084d66057bc99f.zip
Document print-escape-control-characters
* doc/lispref/streams.texi, etc/NEWS: Add doc.
Diffstat (limited to 'doc')
-rw-r--r--doc/lispref/streams.texi7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/lispref/streams.texi b/doc/lispref/streams.texi
index 6172392274a..4c8a7473374 100644
--- a/doc/lispref/streams.texi
+++ b/doc/lispref/streams.texi
@@ -778,6 +778,13 @@ In the second expression, the local binding of
778@code{prin1}, but not during the printing of the result. 778@code{prin1}, but not during the printing of the result.
779@end defvar 779@end defvar
780 780
781@defvar print-escape-control-characters
782If this variable is non-@code{nil}, control characters in strings are
783printed as backslash sequences by the print functions @code{prin1} and
784@code{print} that print with quoting. If this variable and
785@code{print-escape-newlines} are both non-@code{nil}, the latter takes
786precedences for newlines and formfeeds.
787
781@defvar print-escape-nonascii 788@defvar print-escape-nonascii
782If this variable is non-@code{nil}, then unibyte non-@acronym{ASCII} 789If this variable is non-@code{nil}, then unibyte non-@acronym{ASCII}
783characters in strings are unconditionally printed as backslash sequences 790characters in strings are unconditionally printed as backslash sequences