]> git.eshelyaron.com Git - emacs.git/commit
Don't use ellipses while cl-printing strings.
authorAlan Mackenzie <acm@muc.de>
Tue, 19 Sep 2023 10:25:34 +0000 (10:25 +0000)
committerAlan Mackenzie <acm@muc.de>
Tue, 19 Sep 2023 10:25:34 +0000 (10:25 +0000)
commit761f8901fffdb155cbcc7f3b5a2329161c2c1826
treec2e044a67c45ecadf3f344a4398d1ceb8e7b084f
parentea5ae08b0623f091666373765d831667895c4351
Don't use ellipses while cl-printing strings.

This fixes bug#65680.  The former use of print-length as a
bound on the length of the printed string was erroneous,
causing error messages preceding backtracees to get
unnecessarily truncated to 50 characters.

* lisp/emacs-lisp/cl-print.el (cl-print-object <string>):
Remove the substitution of ellipses for long strings.

* test/lisp/emacs-lisp/cl-print-tests.el
(cl-print-tests-ellipsis-string): Remove this test.
lisp/emacs-lisp/cl-print.el
test/lisp/emacs-lisp/cl-print-tests.el