Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Fix refresh-dirs not being passed anywhere #1

Closed
wants to merge 2 commits into from

2 participants

@mikaraento

No description provided.

@stuartsierra
Collaborator

Pull requests cannot be accepted under the Clojure Contributor Agreement at this time. Issue moved to JIRA at http://dev.clojure.org/jira/browse/TNS-3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Oct 5, 2012
  1. @mikaraento

    pass refresh-dirs to scan

    mikaraento authored
  2. @mikaraento

    simplify apply usage

    mikaraento authored
This page is out of date. Refresh to see the latest.
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/main/clojure/clojure/tools/namespace/repl.clj
View
4 src/main/clojure/clojure/tools/namespace/repl.clj
@@ -71,7 +71,7 @@
The directories to be scanned are controlled by 'set-refresh-dirs';
defaults to all directories on the Java classpath."
[]
- (do-refresh dir/scan))
+ (do-refresh #(apply dir/scan % refresh-dirs)))
(defn refresh-all
"Scans source code directories for all Clojure source files and
@@ -80,7 +80,7 @@
The directories to be scanned are controlled by 'set-refresh-dirs';
defaults to all directories on the Java classpath."
[]
- (do-refresh dir/scan-all))
+ (do-refresh #(apply dir/scan-all % refresh-dirs)))
(defn set-refresh-dirs
"Sets the directories which are scanned by 'refresh'. Supports the
Something went wrong with that request. Please try again.