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)
|
(define/override (editing-this-file? filename)
|
||||||
(let ([path-equal?
|
(let ([path-equal?
|
||||||
(λ (x y)
|
(λ (x y)
|
||||||
|
(with-handlers ((exn:fail:filesystem? (λ (x) #f)))
|
||||||
(equal? (normal-case-path (normalize-path x))
|
(equal? (normal-case-path (normalize-path x))
|
||||||
(normal-case-path (normalize-path y))))])
|
(normal-case-path (normalize-path y)))))])
|
||||||
(let ([this-fn (get-filename)])
|
(let ([this-fn (get-filename)])
|
||||||
(and this-fn
|
(and this-fn
|
||||||
(path-equal? filename (get-filename))))))
|
(path-equal? filename (get-filename))))))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user