aboutsummaryrefslogtreecommitdiff
path: root/src/clojure/contrib/shell_out.clj
diff options
context:
space:
mode:
authorChouser <chouser@n01se.net>2009-02-17 22:08:16 +0000
committerChouser <chouser@n01se.net>2009-02-17 22:08:16 +0000
commit81b9e71effbaf6aa2945cd684802d87c762cdcdd (patch)
tree716012900fd73190e11d8869a4efbc44fa231f7a /src/clojure/contrib/shell_out.clj
parentd7695aa72adcdbdffe396b87d8f0a2dea363ffc1 (diff)
Batch of changes for lazier clojure.
Diffstat (limited to 'src/clojure/contrib/shell_out.clj')
-rw-r--r--src/clojure/contrib/shell_out.clj4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/clojure/contrib/shell_out.clj b/src/clojure/contrib/shell_out.clj
index 768bb34b..79bebd4b 100644
--- a/src/clojure/contrib/shell_out.clj
+++ b/src/clojure/contrib/shell_out.clj
@@ -50,8 +50,8 @@
(if-not args
opts
(if (keyword? arg)
- (recur (rrest args) (assoc opts arg (second args)))
- (recur (rest args) (update-in opts [:cmd] conj arg))))))
+ (recur (nnext args) (assoc opts arg (second args)))
+ (recur (next args) (update-in opts [:cmd] conj arg))))))
(defn- as-env-key [arg]
"Helper so that callers can use symbols, keywords, or strings