Open Require Path: ignore .bak files under windows, but ~ files elsewhere
instead of ignoring ~ files everywhere
This commit is contained in:
parent
f4d66ad4d1
commit
bc83e9b778
|
@ -24,7 +24,9 @@
|
||||||
|
|
||||||
(define (ignore? x)
|
(define (ignore? x)
|
||||||
(or (member x '("compiled"))
|
(or (member x '("compiled"))
|
||||||
(regexp-match #rx"~$" x)))
|
(if (equal? (system-type) 'windows)
|
||||||
|
(regexp-match #rx"[.]bak$" x)
|
||||||
|
(regexp-match #rx"~$" x))))
|
||||||
|
|
||||||
(define (find-completions str the-current-directory #:alternate-racket [alternate-racket #f])
|
(define (find-completions str the-current-directory #:alternate-racket [alternate-racket #f])
|
||||||
(cond
|
(cond
|
||||||
|
|
Loading…
Reference in New Issue
Block a user