From 9f1d36749529eb66d834d4b417cbc1d8e7cac325 Mon Sep 17 00:00:00 2001 From: Maxime Dénès Date: Fri, 22 Dec 2017 14:00:05 +0100 Subject: Remove query-in-IDE warning. I don't understand what is wrong with putting a query in a script running in the IDE. It is typically needed when giving demos, and that sounds like a ligitimate use case. By the way, we do it ourselves every year during the demo at CoqPL... --- vernac/vernacprop.ml | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'vernac/vernacprop.ml') diff --git a/vernac/vernacprop.ml b/vernac/vernacprop.ml index 4a01ef2ef..8db006849 100644 --- a/vernac/vernacprop.ml +++ b/vernac/vernacprop.ml @@ -53,17 +53,6 @@ let is_debug cmd = match under_control cmd with | VernacSetOption (["Ltac";"Debug"], _) -> true | _ -> false -let is_query cmd = match under_control cmd with - | VernacChdir None - | VernacMemOption _ - | VernacPrintOption _ - | VernacCheckMayEval _ - | VernacGlobalCheck _ - | VernacPrint _ - | VernacSearch _ - | VernacLocate _ -> true - | _ -> false - let is_undo cmd = match under_control cmd with | VernacUndo _ | VernacUndoTo _ -> true | _ -> false -- cgit v1.2.3