]> git.eshelyaron.com Git - emacs.git/commit
Ensure that we don't call print-unreadable-function from " prin1"
authorLars Ingebrigtsen <larsi@gnus.org>
Thu, 28 Jul 2022 10:23:53 +0000 (12:23 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Thu, 28 Jul 2022 10:24:03 +0000 (12:24 +0200)
commit4895ca16f76aa0ec044212a2b96ef8646cf4d0ed
tree31eb004564adcdaaa0df8ee912a323444b456e18
parent22a5f022344af8c0c0a9eddc2ac5ad36392d0cef
Ensure that we don't call print-unreadable-function from " prin1"

* src/print.c (PRINTPREPARE): Bind the current buffer so that we
can retrieve it later.
(print_vectorlike): Use it (bug#56773).
(syms_of_print): New internal `print--unreadable-callback-buffer'
variable.
src/print.c
test/lisp/subr-tests.el
test/src/print-tests.el