1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-06 03:40:56 -08:00

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.
This commit is contained in:
Lars Ingebrigtsen 2022-07-28 12:23:53 +02:00
parent 22a5f02234
commit 4895ca16f7
3 changed files with 29 additions and 1 deletions

View file

@ -529,6 +529,5 @@ otherwise, use a different charset."
(should (equal (% (- (length numbers) loopback-index) loop)
0)))))))))))
(provide 'print-tests)
;;; print-tests.el ends here