0.pre7.14.flaky4:
[sbcl.git] / src / code / print.lisp
index da66712..8b4bc06 100644 (file)
 \f
 ;;;; OUTPUT-OBJECT -- the main entry point
 
-(defvar *pretty-printer* nil
-  #!+sb-doc
-  "The current pretty printer. Should be either a function that takes two
-   arguments (the object and the stream) or NIL to indicate that there is
-   no pretty printer installed.")
+;;; the current pretty printer. This should be either a function that
+;;; takes two arguments (the object and the stream) or NIL to indicate
+;;; that there is no pretty printer installed.
+(defvar *pretty-printer* nil)
 
 ;;; Output OBJECT to STREAM observing all printer control variables.
 (defun output-object (object stream)
                            #(#.sb!vm:closure-header-type
                              #.sb!vm:byte-code-closure-type))
                      "CLOSURE")
-                    (#!+sb-interpreter
-                     (sb!eval::interpreted-function-p object)
+                    #!+sb-interpreter
+                    ((sb!eval::interpreted-function-p object)
                      (or (sb!eval::interpreted-function-%name object)
                          (sb!eval:interpreted-function-lambda-expression
                           object)))