;;; -*-Scheme-*-
;;;
-;;; $Id: filcom.scm,v 1.214 2001/05/07 18:36:50 cph Exp $
+;;; $Id: filcom.scm,v 1.215 2001/05/10 18:34:56 cph Exp $
;;;
;;; Copyright (c) 1986, 1989-2001 Massachusetts Institute of Technology
;;;
(let ((error?
(not
(catch-file-errors
- (lambda () #f)
+ (lambda (condition) condition #f)
(lambda () (read-buffer buffer pathname #t))))))
(if error?
(do ((hooks
buffer))))
\f
(define (file-test-no-errors test . args)
- (catch-file-errors (lambda () #f)
+ (catch-file-errors (lambda (condition) condition #f)
(lambda () (apply test args))))
(define (file-newer-than-file? a b)
(define (load-find-file-initialization buffer pathname)
(let ((pathname
(catch-file-errors
- (lambda () #f)
+ (lambda (condition) condition #f)
(lambda () (os/find-file-initialization-filename pathname)))))
(if pathname
(let ((database
(bind-condition-handler (list condition-type:error)
evaluation-error-handler
(lambda ()
- (catch-file-errors (lambda () #f)
+ (catch-file-errors (lambda (condition) condition #f)
(lambda ()
(fluid-let ((load/suppress-loading-message? #t))
(load pathname