src/Pure/Interface/proof_general.ML
changeset 9462 3ac87f80186d
parent 9050 578730810638
child 9497 01d0c66ce523
equal deleted inserted replaced
9461:8645b0413366 9462:3ac87f80186d
   204 
   204 
   205 (* outer syntax *)
   205 (* outer syntax *)
   206 
   206 
   207 local structure P = OuterParse and K = OuterSyntax.Keyword in
   207 local structure P = OuterParse and K = OuterSyntax.Keyword in
   208 
   208 
   209 val old_undoP =	(* FIXME same name for compatibility with PG/Isabelle99 *)
   209 val old_undoP = (* FIXME same name for compatibility with PG/Isabelle99 *)
   210   OuterSyntax.improper_command "undo" "undo last command (no output)" K.control
   210   OuterSyntax.improper_command "undo" "undo last command (no output)" K.control
   211     (Scan.succeed (Toplevel.no_timing o IsarCmd.undo));
   211     (Scan.succeed (Toplevel.no_timing o IsarCmd.undo));
   212 
   212 
   213 val undoP =
   213 val undoP =
   214   OuterSyntax.improper_command "ProofGeneral.undo" "undo last command (no output)" K.control
   214   OuterSyntax.improper_command "ProofGeneral.undo" "undo last command (no output)" K.control
   256   setup_messages ();
   256   setup_messages ();
   257   setup_state ();
   257   setup_state ();
   258   setup_thy_loader ();
   258   setup_thy_loader ();
   259   print_mode := [proof_generalN];
   259   print_mode := [proof_generalN];
   260   set quick_and_dirty;
   260   set quick_and_dirty;
   261   ml_prompts ("> " ^ oct_char "372") ("- " ^ oct_char "373");
   261   ThmDeps.enable ();
       
   262   if isar then ml_prompts "ML> " "ML# "
       
   263   else ml_prompts ("> " ^ oct_char "372") ("- " ^ oct_char "373");
   262   if isar then Isar.sync_main () else isa_restart ());
   264   if isar then Isar.sync_main () else isa_restart ());
   263 
   265 
   264 
   266 
   265 
   267 
   266 (** generate keyword classification file **)
   268 (** generate keyword classification file **)