author | wenzelm |
Thu, 10 Jul 2008 17:26:25 +0200 | |
changeset 27525 | ee2721e9e900 |
parent 27524 | cd95da386e9a |
child 27526 | 69618a03b6f7 |
--- a/src/Pure/Isar/isar_syn.ML Thu Jul 10 17:26:23 2008 +0200 +++ b/src/Pure/Isar/isar_syn.ML Thu Jul 10 17:26:25 2008 +0200 @@ -737,6 +737,14 @@ handle ERROR msg => Scan.fail_with (K msg))); +(* global Isar state commands *) + +val _ = + OuterSyntax.improper_command "Isar.undo" "undo tty commands" K.control + (Scan.optional P.nat 1 >> + (fn n => Toplevel.no_timing o Toplevel.imperative (fn () => Isar.undo n))); + + (** diagnostic commands (for interactive mode only) **)