Browse files

No more :use.

  • Loading branch information...
1 parent 89b46ba commit 9362f2d3f72ea0aeb9f340b787bd036d71af6481 @technomancy committed Dec 25, 2012
Showing with 5 additions and 5 deletions.
  1. +3 −3 src/slam/hound/prettify.clj
  2. +1 −1 src/slam/hound/search.clj
  3. +1 −1 src/slam/hound/stitch.clj
View
6 src/slam/hound/prettify.clj
@@ -1,8 +1,8 @@
(ns slam.hound.prettify
"Format a namespace declaration using pretty print with custom dispatch."
- (:use [clojure.pprint :only [code-dispatch pprint with-pprint-dispatch
- cl-format pprint-logical-block pprint-newline
- formatter-out write-out]]))
+ (:require [clojure.pprint :refer [code-dispatch pprint with-pprint-dispatch
+ cl-format pprint-logical-block
+ pprint-newline formatter-out write-out]]))
(defn- brackets
"Figure out which kind of brackets to use"
View
2 src/slam/hound/search.clj
@@ -1,6 +1,6 @@
(ns slam.hound.search
"Search the classpath for vars and classes."
- (:use [clojure.java.io :only [file reader]])
+ (:require [clojure.java.io :refer [file reader]])
(:import (java.io BufferedReader File FilenameFilter
InputStreamReader PushbackReader)
(java.util StringTokenizer)
View
2 src/slam/hound/stitch.clj
@@ -1,5 +1,5 @@
(ns slam.hound.stitch
- (:use [slam.hound.prettify :only [prettify]]))
+ (:require [slam.hound.prettify :refer [prettify]]))
(def ^:private ns-map-clauses [:require-as :require-refer :import])

0 comments on commit 9362f2d

Please sign in to comment.