X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=gacela_misc.lisp;h=0785af78cb07b8273216faf180fcd7ca1626584f;hb=2fbfb3420ca25c0228e04b5696d42abce5e055ed;hp=7010b0965f32bc23941e53181b89fa51d1d58c8a;hpb=5d9f784170bb7cf0a360e7e545d38049a354e160;p=gacela.git diff --git a/gacela_misc.lisp b/gacela_misc.lisp index 7010b09..0785af7 100755 --- a/gacela_misc.lisp +++ b/gacela_misc.lisp @@ -71,9 +71,10 @@ `(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)