diff --git a/src/slam/hound/prettify.clj b/src/slam/hound/prettify.clj index 5bf6a2f..e7fd098 100644 --- a/src/slam/hound/prettify.clj +++ b/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" diff --git a/src/slam/hound/search.clj b/src/slam/hound/search.clj index 04f3dbc..04bec66 100644 --- a/src/slam/hound/search.clj +++ b/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) diff --git a/src/slam/hound/stitch.clj b/src/slam/hound/stitch.clj index 2918e78..56938d5 100644 --- a/src/slam/hound/stitch.clj +++ b/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])