equal
deleted
inserted
replaced
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"} |