diff options
author | Alan Mackenzie <acm@muc.de> | 2023-09-29 16:14:04 +0000 |
---|---|---|
committer | Alan Mackenzie <acm@muc.de> | 2023-09-29 16:14:04 +0000 |
commit | 01229fe0096e936ea8f4fad0d64967671c4b1892 (patch) | |
tree | 2eb47a1e060ab41c91cecf880b40b38c016d10b8 /src/regex-emacs.c | |
parent | 6e4432673ca716755b8a71ed50011336ac57c2e4 (diff) | |
download | emacs-01229fe0096e936ea8f4fad0d64967671c4b1892.tar.gz emacs-01229fe0096e936ea8f4fad0d64967671c4b1892.tar.bz2 emacs-01229fe0096e936ea8f4fad0d64967671c4b1892.zip |
Stop truncating strings too much in cl-print-string-with-limit
This fixes bug#65680, by introducing a new variable limiting
the length of a printed string, rather than abusing
print-length for that purpose.
* lisp/emacs-lisp/cl-print.el (cl-print-string-length): New
variable.
(cl-print-object <string>, cl-print--string-props): Use
cl-print-string-length rather than print-length here.
(cl-print-string-with-limit): bind cl-print-string-length based
on argument `limit'. Decrement it by a quarter at each trial
iteration of printing.
Diffstat (limited to 'src/regex-emacs.c')
0 files changed, 0 insertions, 0 deletions