Skip to content

Commit adfddb0

Browse files
abedraweavejester
authored andcommitted
change reader macro call to use meta
1 parent a2a64d4 commit adfddb0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/compojure/control.clj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
"Return a symbol and body with an optional docstring applied."
5858
[name doc? body]
5959
(if (string? doc?)
60-
(list* (with-meta name (assoc ^name :doc doc?)) body)
60+
(list* (with-meta name (assoc (meta name) :doc doc?)) body)
6161
(list* name doc? body)))
6262

6363
(defmacro deftmpl

0 commit comments

Comments
 (0)