diff options
| author | Noam Postavsky | 2017-05-28 17:01:05 -0400 |
|---|---|---|
| committer | Noam Postavsky | 2017-05-31 07:45:43 -0400 |
| commit | a415c8bccb917c247792c4ce8e77b2512b3414d6 (patch) | |
| tree | 222b1fd62276c7220ed06b13e2125e51e96c567c /lib-src | |
| parent | 94306c8b0d61a53b19dcee18475ea8692b001f5d (diff) | |
| download | emacs-a415c8bccb917c247792c4ce8e77b2512b3414d6.tar.gz emacs-a415c8bccb917c247792c4ce8e77b2512b3414d6.zip | |
cl-print: handle circular objects when `print-circle' is nil (Bug#27117)
* lisp/emacs-lisp/cl-print.el (cl-print--currently-printing): New variable.
(cl-print-object): When `print-circle' is nil, bind it to a list of
objects that are currently printing to avoid printing the same object
endlessly.
* test/lisp/emacs-lisp/cl-print-tests.el (cl-print-circle): New test.
Diffstat (limited to 'lib-src')
0 files changed, 0 insertions, 0 deletions