X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcode%2Fpprint.lisp;h=07f87255d41ae5d9e868b9a769a72e1d5098ff5a;hb=e62bb3a4b9633dbd898fca05cc4af3dd0a16e0aa;hp=c8e23015fc2e6d155abf43dee85fb1ba94a22e8f;hpb=cc27e35fc73e6765679d6f426ee144abdfac7c27;p=sbcl.git diff --git a/src/code/pprint.lisp b/src/code/pprint.lisp index c8e2301..07f8725 100644 --- a/src/code/pprint.lisp +++ b/src/code/pprint.lisp @@ -1003,9 +1003,7 @@ line break." ;;;; standard pretty-printing routines (defun pprint-array (stream array) - (cond ((or (and (null *print-array*) (null *print-readably*)) - (stringp array) - (bit-vector-p array)) + (cond ((and (null *print-array*) (null *print-readably*)) (output-ugly-object array stream)) ((and *print-readably* (not (array-readably-printable-p array))) @@ -1488,7 +1486,7 @@ line break." (let ((*print-pprint-dispatch* *initial-pprint-dispatch-table*) (*building-initial-table* t)) (/show0 "doing SET-PPRINT-DISPATCH for regular types") - (set-pprint-dispatch 'array #'pprint-array) + (set-pprint-dispatch '(and array (not (or string bit-vector))) #'pprint-array) (set-pprint-dispatch '(cons (and symbol (satisfies mboundp))) #'pprint-macro-call -1) (set-pprint-dispatch '(cons (and symbol (satisfies fboundp)))