Skip to content
Browse files

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.
  • Loading branch information...
1 parent 1caae27 commit 3e3608ccb82de7e14b0b3aed223d95c7d5a500ba @dyoo committed Feb 3, 2013
Showing with 2 additions and 3 deletions.
  1. +2 −3 collects/drracket/private/eval-helpers.rkt
5 collects/drracket/private/eval-helpers.rkt
@@ -82,9 +82,8 @@
#:security-guard (and use-current-security-guard?
(let* ([cd (find-collects-dir)]
- [no-dirs (if cd
- (list (CACHE-DIR) cd)
- (list (CACHE-DIR)))])
+ [ad (find-system-path 'addon-dir)]
+ [no-dirs (filter values (list (CACHE-DIR) cd ad))])
(λ (p) (file-stamp-in-paths p no-dirs))))))

0 comments on commit 3e3608c

Please sign in to comment.
Something went wrong with that request. Please try again.