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:
parent
22a5f02234
commit
4895ca16f7
3 changed files with 29 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue