added ProofGeneral.undo;
authorwenzelm
Sat, 01 Apr 2000 20:09:52 +0200
changeset 8647 656f1b61875a
parent 8646 1a2c5ccebfdb
child 8648 7461dc59a818
added ProofGeneral.undo;
src/Pure/Interface/proof_general.ML
--- a/src/Pure/Interface/proof_general.ML	Sat Apr 01 20:09:20 2000 +0200
+++ b/src/Pure/Interface/proof_general.ML	Sat Apr 01 20:09:52 2000 +0200
@@ -205,10 +205,14 @@
 
 local structure P = OuterParse and K = OuterSyntax.Keyword in
 
-val silent_undoP =	(* FIXME same name for compatibility with PG/Isabelle99 *)
+val old_undoP =	(* FIXME same name for compatibility with PG/Isabelle99 *)
   OuterSyntax.improper_command "undo" "undo last command (no output)" K.control
     (Scan.succeed IsarCmd.undo);
 
+val undoP =
+  OuterSyntax.improper_command "ProofGeneral.undo" "undo last command (no output)" K.control
+    (Scan.succeed IsarCmd.undo);
+
 val context_thy_onlyP =
   OuterSyntax.improper_command "ProofGeneral.context_thy_only" "(internal)" K.control
     (P.name >> IsarThy.init_context update_thy_only);
@@ -234,7 +238,7 @@
     (P.name >> (fn name => Toplevel.imperative (fn () => inform_file_retracted name)));
 
 fun init_outer_syntax () = OuterSyntax.add_parsers
- [silent_undoP, restartP, kill_proofP, context_thy_onlyP, try_context_thy_onlyP,
+ [old_undoP, undoP, restartP, kill_proofP, context_thy_onlyP, try_context_thy_onlyP,
   inform_file_processedP, inform_file_retractedP];
 
 end;