]> git.jsancho.org Git - gacela.git/blobdiff - gacela_misc.lisp
(no commit message)
[gacela.git] / gacela_misc.lisp
index 7010b0965f32bc23941e53181b89fa51d1d58c8a..0785af78cb07b8273216faf180fcd7ca1626584f 100755 (executable)
     `(block secure
        (defun si::universal-error-handler (error-name correctable function-name continue-format-string error-format-string &rest args)
         ,(when output-stream
-           `(format ,output-stream
-                    (cond ((eq error-name :WRONG-TYPE-ARGUMENT) (string error-name))
-                          (t error-format-string))))
+           `(write-line
+             (cond ((eq error-name :WRONG-TYPE-ARGUMENT) (string error-name))
+                   (t error-format-string))
+             ,output-stream))
         (setf (symbol-function 'si::universal-error-handler) ,error-handler)
         (return-from secure))
        (let (result-eval)