]> git.eshelyaron.com Git - emacs.git/commit
Add methods for strings to cl-print
authorGemini Lasswell <gazally@runbox.com>
Fri, 15 Jun 2018 17:26:13 +0000 (10:26 -0700)
committerGemini Lasswell <gazally@runbox.com>
Fri, 3 Aug 2018 15:53:02 +0000 (08:53 -0700)
commit8a7620955b4d859caecd9a5dc9f2a986baf994fd
treeb0749d1815b471e881579d6483cf0684089ff4a5
parenteba16e5e5829c244d313101a769d4988946387d9
Add methods for strings to cl-print

* lisp/emacs-lisp/cl-print.el (cl-print-object) <string>: New method.
(cl-print-object-contents) <string>: New method.
(cl-print--find-sharing): Look in string property lists.

* test/lisp/emacs-lisp/cl-print-tests.el (cl-print-tests-3): Test
printing of long strings.
(cl-print-tests-4): Test printing of strings nested in other objects.
(cl-print-tests-strings, cl-print-tests-ellipsis-string): New
tests.
lisp/emacs-lisp/cl-print.el
test/lisp/emacs-lisp/cl-print-tests.el