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... --- ide/ide_slave.ml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'ide') diff --git a/ide/ide_slave.ml b/ide/ide_slave.ml index aafc3fc59..5f40a2242 100644 --- a/ide/ide_slave.ml +++ b/ide/ide_slave.ml @@ -69,9 +69,7 @@ let ide_cmd_checks ~id (loc,ast) = if is_known_option ast then warn "Set this option from the IDE menu instead"; if is_navigation_vernac ast || is_undo ast then - warn "Use IDE navigation instead"; - if is_query ast then - warn "Query commands should not be inserted in scripts" + warn "Use IDE navigation instead" (** Interpretation (cf. [Ide_intf.interp]) *) -- cgit v1.2.3