summaryrefslogtreecommitdiff
path: root/src/regex-emacs.c
diff options
context:
space:
mode:
authorAlan Mackenzie <acm@muc.de>2023-09-29 16:14:04 +0000
committerAlan Mackenzie <acm@muc.de>2023-09-29 16:14:04 +0000
commit01229fe0096e936ea8f4fad0d64967671c4b1892 (patch)
tree2eb47a1e060ab41c91cecf880b40b38c016d10b8 /src/regex-emacs.c
parent6e4432673ca716755b8a71ed50011336ac57c2e4 (diff)
downloademacs-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