src/Pure/Isar/isar_syn.ML
changeset 51960 61ac1efe02c3
parent 51737 718866dda2fa
child 51979 4f3a5f4c1169
equal deleted inserted replaced
51959:18d758e38d85 51960:61ac1efe02c3
   973 
   973 
   974 val _ =  (* FIXME tty only *)
   974 val _ =  (* FIXME tty only *)
   975   Outer_Syntax.improper_command @{command_spec "pr"} "print current proof state (if present)"
   975   Outer_Syntax.improper_command @{command_spec "pr"} "print current proof state (if present)"
   976     (opt_modes -- Scan.option Parse.nat >> (fn (modes, limit) =>
   976     (opt_modes -- Scan.option Parse.nat >> (fn (modes, limit) =>
   977       Toplevel.keep (fn state =>
   977       Toplevel.keep (fn state =>
   978        (case limit of NONE => () | SOME n => Goal_Display.goals_limit_default := n;
   978        (case limit of NONE => () | SOME n => Options.default_put_int "goals_limit" n;
   979         Toplevel.quiet := false;
   979         Toplevel.quiet := false;
   980         Print_Mode.with_modes modes (Toplevel.print_state true) state))));
   980         Print_Mode.with_modes modes (Toplevel.print_state true) state))));
   981 
   981 
   982 val _ =
   982 val _ =
   983   Outer_Syntax.improper_command @{command_spec "disable_pr"}
   983   Outer_Syntax.improper_command @{command_spec "disable_pr"}