Skip to content

Commit 3e3608c

Browse files
committed
Add addon-dir to the list of paths known by manager-skip-file-handler in DrRacket.
Avoid zo-compiling user-specific Racket extensions with the DrRacket compilation manager. Otherwise, PLaneT2 packages will also get indiscriminantly compiled.
1 parent 1caae27 commit 3e3608c

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

collects/drracket/private/eval-helpers.rkt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,9 +82,8 @@
8282
#:security-guard (and use-current-security-guard?
8383
(current-security-guard))))
8484
(let* ([cd (find-collects-dir)]
85-
[no-dirs (if cd
86-
(list (CACHE-DIR) cd)
87-
(list (CACHE-DIR)))])
85+
[ad (find-system-path 'addon-dir)]
86+
[no-dirs (filter values (list (CACHE-DIR) cd ad))])
8887
(manager-skip-file-handler
8988
(λ (p) (file-stamp-in-paths p no-dirs))))))
9089

0 commit comments

Comments
 (0)