Skip to content

Commit

Permalink
Add addon-dir to the list of paths known by manager-skip-file-handler…
Browse files Browse the repository at this point in the history
… 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
dyoo committed Feb 4, 2013
1 parent 1caae27 commit 3e3608c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions collects/drracket/private/eval-helpers.rkt
Expand Up @@ -82,9 +82,8 @@
#:security-guard (and use-current-security-guard?
(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))])
(manager-skip-file-handler
(λ (p) (file-stamp-in-paths p no-dirs))))))

Expand Down

0 comments on commit 3e3608c

Please sign in to comment.