[movitz-cvs] CVS update: movitz/losp/muerte/error.lisp

Frode Vatvedt Fjeld ffjeld at common-lisp.net
Wed Sep 22 16:15:42 UTC 2004


Update of /project/movitz/cvsroot/movitz/losp/muerte
In directory common-lisp.net:/tmp/cvs-serv6545

Modified Files:
	error.lisp 
Log Message:
Added variable *disable-interrupts-on-error*.

Date: Wed Sep 22 18:15:41 2004
Author: ffjeld

Index: movitz/losp/muerte/error.lisp
diff -u movitz/losp/muerte/error.lisp:1.2 movitz/losp/muerte/error.lisp:1.3
--- movitz/losp/muerte/error.lisp:1.2	Mon Jan 19 12:23:46 2004
+++ movitz/losp/muerte/error.lisp	Wed Sep 22 18:15:41 2004
@@ -10,7 +10,7 @@
 ;;;; Author:        Frode Vatvedt Fjeld <frodef at acm.org>
 ;;;; Created at:    Sat Sep  1 00:49:11 2001
 ;;;;                
-;;;; $Id: error.lisp,v 1.2 2004/01/19 11:23:46 ffjeld Exp $
+;;;; $Id: error.lisp,v 1.3 2004/09/22 16:15:41 ffjeld Exp $
 ;;;;                
 ;;;;------------------------------------------------------------------
 
@@ -25,10 +25,12 @@
 (defvar *error-no-condition-for-debugger* nil
   "If true, don't create a simple-error object just for the debugger,
  (presumably) since this might trigger another bug.")
-
+(defvar *disable-interrupts-on-error* t)
 
 (defun error (&rest arguments)
   (declare (dynamic-extent arguments))
+  (when *disable-interrupts-on-error*
+    (cli))
   (unless arguments
     (error 'wrong-argument-count
 	   :function #'error





More information about the Movitz-cvs mailing list