summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/cl-preloaded.el
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2018-03-01 17:58:26 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2018-03-01 18:16:43 -0800
commita4605cd60d79e5dc050d722f8c4360f11ce65232 (patch)
tree72e3931ea034c261bfe61c37b40ce1afceb1f0f6 /lisp/emacs-lisp/cl-preloaded.el
parentde92605038763d7f970891a8cc0edc0e106ed267 (diff)
downloademacs-a4605cd60d79e5dc050d722f8c4360f11ce65232.tar.gz
emacs-a4605cd60d79e5dc050d722f8c4360f11ce65232.tar.bz2
emacs-a4605cd60d79e5dc050d722f8c4360f11ce65232.zip
Improve octal-escape output in bool vectors and strings
* src/print.c (octalout): New function. (print_vectorlike): When printing bool vectors, use octal escapes for control characters when print-escape-control-characters is non-nil, so that the printed representation avoids encoding issues. Rename locals to avoid byte-vs-char confusion. (print_object): Don't output unnecessary zeros when printing octal escapes. Simplify by using octalout.
Diffstat (limited to 'lisp/emacs-lisp/cl-preloaded.el')
0 files changed, 0 insertions, 0 deletions