]> git.eshelyaron.com Git - emacs.git/commit
Fix cl-print for circular sublists (Bug#31146)
authorNoam Postavsky <npostavs@gmail.com>
Sat, 14 Apr 2018 05:02:25 +0000 (01:02 -0400)
committerNoam Postavsky <npostavs@gmail.com>
Sun, 3 Jun 2018 16:48:13 +0000 (12:48 -0400)
commit9552485c4d471a02cd3973d4458d8513a81f9c85
treef90b987879836292f5624921a22a994a88b849fd
parent4c6cdf6fc9ce8a3309948228995b0ea88704c274
Fix cl-print for circular sublists (Bug#31146)

* lisp/emacs-lisp/cl-print.el (cl-print-object) <cons>: Push each
element of list being printed onto cl-print--currently-printing.
* test/lisp/emacs-lisp/cl-print-tests.el (cl-print-circle-2): New
test.

(cherry picked from commit b8aa7ecf54c9b164a59f1b0e9f9fe90531dadd20)
lisp/emacs-lisp/cl-print.el
test/lisp/emacs-lisp/cl-print-tests.el