src/Pure/Isar/isar_syn.ML
changeset 52549 802576856527
parent 52546 7118524a2a24
child 53377 21693b7c8fbf
equal deleted inserted replaced
52548:a1a8248a4677 52549:802576856527
   960     (Parse.name >> (fn name => Toplevel.imperative (fn () => Thy_Info.kill_thy name)));
   960     (Parse.name >> (fn name => Toplevel.imperative (fn () => Thy_Info.kill_thy name)));
   961 
   961 
   962 val _ =
   962 val _ =
   963   Outer_Syntax.improper_command @{command_spec "display_drafts"}
   963   Outer_Syntax.improper_command @{command_spec "display_drafts"}
   964     "display raw source files with symbols"
   964     "display raw source files with symbols"
   965     (Scan.repeat1 Parse.path >> Isar_Cmd.display_drafts);
   965     (Scan.repeat1 Parse.path >> (fn names =>
   966 
   966       Toplevel.imperative (fn () => ignore (Present.display_drafts (map Path.explode names)))));
   967 val _ =
       
   968   Outer_Syntax.improper_command @{command_spec "print_drafts"}
       
   969     "print raw source files with symbols"
       
   970     (Scan.repeat1 Parse.path >> Isar_Cmd.print_drafts);
       
   971 
   967 
   972 val _ =
   968 val _ =
   973   Outer_Syntax.improper_command @{command_spec "print_state"}
   969   Outer_Syntax.improper_command @{command_spec "print_state"}
   974     "print current proof state (if present)"
   970     "print current proof state (if present)"
   975     (opt_modes >> (fn modes =>
   971     (opt_modes >> (fn modes =>