Ignore:
Timestamp:
12/19/03 01:24:27 (18 years ago)
Author:
piso
Message:

INVOKE-RESTART: signal CONTROL-ERROR if no active restart.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/j/src/org/armedbear/lisp/restart.lisp

    r5182 r5185  
    22;;;
    33;;; Copyright (C) 2003 Peter Graves
    4 ;;; $Id: restart.lisp,v 1.10 2003-12-19 00:04:14 piso Exp $
     4;;; $Id: restart.lisp,v 1.11 2003-12-19 01:24:27 piso Exp $
    55;;;
    66;;; This program is free software; you can redistribute it and/or
     
    9191(defun invoke-restart (restart &rest values)
    9292  (let ((real-restart (or (find-restart restart)
    93                           (error "Restart ~s is not active." restart))))
     93                          (error 'control-error
     94                                 :format-control "Restart ~s is not active."
     95                                 :format-arguments (list restart)))))
    9496    (apply (restart-function real-restart) values)))
    9597
Note: See TracChangeset for help on using the changeset viewer.