;;; -*-Scheme-*-
;;;
-;;; $Id: editor.scm,v 1.240 1995/01/06 17:47:23 cph Exp $
+;;; $Id: editor.scm,v 1.241 1996/05/11 08:37:35 cph Exp $
;;;
-;;; Copyright (c) 1986, 1989-95 Massachusetts Institute of Technology
+;;; Copyright (c) 1986, 1989-96 Massachusetts Institute of Technology
;;;
;;; This material was developed by the Scheme project at the
;;; Massachusetts Institute of Technology, Department of
(define (exit-scheme)
(within-continuation editor-abort %exit))
-(define call-with-protected-continuation
- call-with-current-continuation)
-
(define (unwind-protect setup body cleanup)
(dynamic-wind (or setup (lambda () unspecific)) body cleanup))
;;; -*-Scheme-*-
;;;
-;;; $Id: fileio.scm,v 1.136 1996/05/04 17:37:30 cph Exp $
+;;; $Id: fileio.scm,v 1.137 1996/05/11 08:37:57 cph Exp $
;;;
;;; Copyright (c) 1986, 1989-96 Massachusetts Institute of Technology
;;;
set-buffer-major-mode!
enable-buffer-minor-mode!)
buffer mode)))
- (call-with-protected-continuation
+ (call-with-current-continuation
(lambda (continuation)
(bind-condition-handler
(list condition-type:error)
#| -*-Scheme-*-
-$Id: shell.scm,v 1.12 1995/01/06 01:14:58 cph Exp $
+$Id: shell.scm,v 1.13 1996/05/11 08:36:59 cph Exp $
-Copyright (c) 1991-95 Massachusetts Institute of Technology
+Copyright (c) 1991-96 Massachusetts Institute of Technology
This material was developed by the Scheme project at the Massachusetts
Institute of Technology, Department of Electrical Engineering and
(string->number string)))
\f
(define (shell-process-cd filename)
- (call-with-protected-continuation
+ (call-with-current-continuation
(lambda (continuation)
(bind-condition-handler (list condition-type:editor-error)
(lambda (condition)
;;; -*-Scheme-*-
;;;
-;;; $Id: utils.scm,v 1.39 1996/04/24 02:38:19 cph Exp $
+;;; $Id: utils.scm,v 1.40 1996/05/11 08:38:11 cph Exp $
;;;
;;; Copyright (c) 1986, 1989-96 Massachusetts Institute of Technology
;;;
(decoded-time/year dt))))))))
(define (catch-file-errors if-error thunk)
- (call-with-protected-continuation
+ (call-with-current-continuation
(lambda (continuation)
(bind-condition-handler (list condition-type:file-error
condition-type:port-error)