summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStuart Halloway <stu@thinkrelevance.com>2010-10-11 10:24:25 -0400
committerStuart Halloway <stu@thinkrelevance.com>2010-10-12 19:46:17 -0400
commit038e4a8b4ea1f60f8eca034a3e1e3f43f4353cc3 (patch)
tree1cc4dd9a056f8ebc16e561d3c8fc4b33c0f3c19c
parent6d300332f810a68869c11ddfcc55f4439b70fdb3 (diff)
DRY up refs to DOC_KEY #280
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
-rw-r--r--src/jvm/clojure/lang/RT.java7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/jvm/clojure/lang/RT.java b/src/jvm/clojure/lang/RT.java
index 78ab5767..c0d3e4ce 100644
--- a/src/jvm/clojure/lang/RT.java
+++ b/src/jvm/clojure/lang/RT.java
@@ -277,19 +277,18 @@ static public void addURL(Object url) throws Exception{
}
static{
- Keyword dockw = Keyword.intern(null, "doc");
Keyword arglistskw = Keyword.intern(null, "arglists");
Symbol namesym = Symbol.create("name");
OUT.setTag(Symbol.create("java.io.Writer"));
CURRENT_NS.setTag(Symbol.create("clojure.lang.Namespace"));
- AGENT.setMeta(map(dockw, "The agent currently running an action on this thread, else nil"));
+ AGENT.setMeta(map(DOC_KEY, "The agent currently running an action on this thread, else nil"));
AGENT.setTag(Symbol.create("clojure.lang.Agent"));
MATH_CONTEXT.setTag(Symbol.create("java.math.MathContext"));
Var nv = Var.intern(CLOJURE_NS, NAMESPACE, bootNamespace);
nv.setMacro();
Var v;
v = Var.intern(CLOJURE_NS, IN_NAMESPACE, inNamespace);
- v.setMeta(map(dockw, "Sets *ns* to the namespace named by the symbol, creating it if needed.",
+ v.setMeta(map(DOC_KEY, "Sets *ns* to the namespace named by the symbol, creating it if needed.",
arglistskw, list(vector(namesym))));
v = Var.intern(CLOJURE_NS, LOAD_FILE,
new AFn(){
@@ -297,7 +296,7 @@ static{
return Compiler.loadFile((String) arg1);
}
});
- v.setMeta(map(dockw, "Sequentially read and evaluate the set of forms contained in the file.",
+ v.setMeta(map(DOC_KEY, "Sequentially read and evaluate the set of forms contained in the file.",
arglistskw, list(vector(namesym))));
try {
doInit();