src/Pure/Isar/isar_document.ML
changeset 29499 2819ba5f0c32
parent 29490 8f0a481199e7
child 29507 1684a9c4554f
--- a/src/Pure/Isar/isar_document.ML	Thu Jan 15 12:16:51 2009 +0100
+++ b/src/Pure/Isar/isar_document.ML	Thu Jan 15 15:51:19 2009 +0100
@@ -256,7 +256,7 @@
 val _ =
   OuterSyntax.internal_command "Isar.edit_document"
     (P.string -- P.string -- V.list (P.string -- (P.string >> SOME) || P.string >> rpair NONE)
-      >> (fn ((id, new_id), edits) => Toplevel.imperative (fn () => end_document id new_id edits)));
+      >> (fn ((id, new_id), edits) => Toplevel.imperative (fn () => edit_document id new_id edits)));
 
 end;