aboutsummaryrefslogtreecommitdiff
path: root/toplevel/coqloop.ml
diff options
context:
space:
mode:
authorEnrico Tassi2014-09-08 13:46:44 +0200
committerEnrico Tassi2014-09-09 13:11:38 +0200
commitb280ff870833a775564900d30d00a43d63246f8a (patch)
tree0a877fc47af2e30f2f58945cda490efd9a685a93 /toplevel/coqloop.ml
parent9d443eb0ff815a804f771335f0ac38a94d2851f2 (diff)
Undo: if the ui is coqtop (command line) then Undo is not part of the doc.
Diffstat (limited to 'toplevel/coqloop.ml')
-rw-r--r--toplevel/coqloop.ml10
1 files changed, 2 insertions, 8 deletions
diff --git a/toplevel/coqloop.ml b/toplevel/coqloop.ml
index de2a81b7c9..b27f7ae31a 100644
--- a/toplevel/coqloop.ml
+++ b/toplevel/coqloop.ml
@@ -339,14 +339,8 @@ let feed_emacs = function
let rec loop () =
Sys.catch_break true;
- if !Flags.print_emacs then begin
- (* TODO : check with Enrico ?! *)
- (*
- Pp.set_feeder feed_emacs;
- Vernacentries.enable_goal_printing := false;
- *)
- Vernacentries.qed_display_script := false;
- end;
+ if !Flags.print_emacs then Vernacentries.qed_display_script := false;
+ Flags.coqtop_ui := true;
try
reset_input_buffer stdin top_buffer;
while true do do_vernac(); flush_all() done