command 'Isar.edit_document': actually invoke edit_document;
authorwenzelm
Thu, 15 Jan 2009 15:51:19 +0100
changeset 29499 2819ba5f0c32
parent 29490 8f0a481199e7
child 29500 8fd3c1c7f0cb
command 'Isar.edit_document': actually invoke edit_document;
src/Pure/Isar/isar_document.ML
--- 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;