added an exception catch
svn: r8473
This commit is contained in:
parent
bc32b85ae4
commit
95f3915f6c
|
@ -1018,8 +1018,9 @@
|
|||
(define/override (editing-this-file? filename)
|
||||
(let ([path-equal?
|
||||
(λ (x y)
|
||||
(equal? (normal-case-path (normalize-path x))
|
||||
(normal-case-path (normalize-path y))))])
|
||||
(with-handlers ((exn:fail:filesystem? (λ (x) #f)))
|
||||
(equal? (normal-case-path (normalize-path x))
|
||||
(normal-case-path (normalize-path y)))))])
|
||||
(let ([this-fn (get-filename)])
|
||||
(and this-fn
|
||||
(path-equal? filename (get-filename))))))
|
||||
|
|
Loading…
Reference in New Issue
Block a user