@@ -872,7 +872,7 @@ processTactic QED ps = case holes ps of
872 _ -> fail "Still holes to fill."
872 _ -> fail "Still holes to fill."
873processTactic ProofState ps = return (ps, showEnv [] (pterm ps))
873processTactic ProofState ps = return (ps, showEnv [] (pterm ps))
874processTactic Undo ps = case previous ps of
874processTactic Undo ps = case previous ps of
875− Nothing -> fail "Nothing to undo."
875+ Nothing -> Error . Msg $ "Nothing to undo."
876 Just pold -> return (pold, "")
876 Just pold -> return (pold, "")
877processTactic EndUnify ps
877processTactic EndUnify ps
878 = let (h, ns_in) = unified ps
878 = let (h, ns_in) = unified ps