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