aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--stm/stm.ml8
1 files changed, 4 insertions, 4 deletions
diff --git a/stm/stm.ml b/stm/stm.ml
index 83926adcc..94987bdb9 100644
--- a/stm/stm.ml
+++ b/stm/stm.ml
@@ -2322,10 +2322,10 @@ let interp verb (_,e as lexpr) =
!Flags.compilation_mode = Flags.BuildVo) then
let vcs = VCS.backup () in
let print_goals =
- (if !Flags.print_emacs then Flags.is_verbose () else !Flags.coqtop_ui) &&
- match clas with
- | VtQuery _, _ -> false
- | _ -> true in
+ verb && match clas with
+ | VtQuery _, _ -> false
+ | VtProofStep _, _ -> true
+ | _ -> not !Flags.coqtop_ui || !Flags.print_emacs in
try finish ~print_goals ()
with e ->
let e = Errors.push e in