Closed hyotang666 closed 4 years ago
Seems to be fixed with:
(defun pprint-dispatch (object &optional (table *print-pprint-dispatch*))
(flet ((non-pretty-print (s object)
(write-not-pretty s object
(if (get-*print-frob* '*print-level*)
(- *print-level* *current-level*))
nil nil)))
(let ((fn (get-printer object (or table *standard-pprint-dispatch-table*))))
(values (or fn #'non-pretty-print) (not (null fn))))))
If nobody objects, will make a pr
If you are trying to say (copy-pprint-dispatch nil)
should be used instead of *standard-pprint-dispatch-table*
, you are wrong, since *standard-pprint-dispatch-table*
is the value of print-pprint-dispatch when the image was started.
If you have another fix in mind, please state it clearly
Oh, I'm sorry, I was wrong.
I confused *standard-pprint-dispatch-table*
and *print-pprint-dispatch*
.
ok, than I create the fix
? (lisp-implementation-version) "Version 1.12 (v1.12) LinuxX8664" ? (pprint-dispatch t nil)
CLHS says