Skip to content

Commit

Permalink
clean up a use of splicing-unquote
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Taggart committed Apr 12, 2011
1 parent 13d5e22 commit dd918c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/clojure/clojure/tools/logging.clj
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@
`(let [log# (impl-get-log *log-factory* ~*ns*)]
(if (impl-enabled? log# ~level)
(if (instance? Throwable ~x) ; type check only when enabled
(log* log# ~level ~x (format ~(first more) ~@(next more)))
(log* log# ~level ~x (format ~@more))
(log* log# ~level (format ~x ~@more)))))))

(defmacro enabled?
Expand Down

0 comments on commit dd918c9

Please sign in to comment.