src/Pure/ML/ml_thms.ML
changeset 41376 08240feb69c7
parent 37216 3165bc303f66
child 41486 82c1e348bc18
--- a/src/Pure/ML/ml_thms.ML	Tue Dec 21 19:35:36 2010 +0100
+++ b/src/Pure/ML/ml_thms.ML	Tue Dec 21 21:05:50 2010 +0100
@@ -39,7 +39,7 @@
       val i = serial ();
       val (a, background') = background
         |> ML_Antiquote.variant kind ||> put_thms (i, ths);
-      val ml = (thm_bind kind a i, "Isabelle." ^ a);
+      val ml = (thm_bind kind a i, " Isabelle." ^ a ^ " ");
     in (K ml, background') end));
 
 val _ = thm_antiq "thm" (Attrib.thm >> single);
@@ -69,7 +69,8 @@
         val (a, background') = background
           |> ML_Antiquote.variant "lemma" ||> put_thms (i, the_thms ctxt' i);
         val ml =
-          (thm_bind (if length (flat propss) = 1 then "thm" else "thms") a i, "Isabelle." ^ a);
+          (thm_bind (if length (flat propss) = 1 then "thm" else "thms") a i,
+            " Isabelle." ^ a ^ " ");
       in (K ml, background') end));
 
 end;