summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStuart Halloway <stu@thinkrelevance.com>2011-01-22 10:38:59 -0500
committerStuart Halloway <stu@thinkrelevance.com>2011-01-22 10:38:59 -0500
commit553f4879cad019dd9dc1727165d8a41c216bd086 (patch)
tree5d17958b6a55a71c996b8e0ef4317910521f8425
parentd7c228515c7b73d279bc60cd2ce61b16a5197f97 (diff)
update def docstring to match its behavior
-rw-r--r--src/clj/clojure/repl.clj2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/clj/clojure/repl.clj b/src/clj/clojure/repl.clj
index b015ca2a..3218180c 100644
--- a/src/clj/clojure/repl.clj
+++ b/src/clj/clojure/repl.clj
@@ -23,7 +23,7 @@
Classname/staticField]
:doc "The instance member form works for both fields and methods.
They all expand into calls to the dot operator at macroexpansion time."}
- def {:forms [(def symbol init?)]
+ def {:forms [(def symbol doc-string? init?)]
:doc "Creates and interns a global var with the name
of symbol in the current namespace (*ns*) or locates such a var if
it already exists. If init is supplied, it is evaluated, and the