diff options
author | Pierre-Marie Pédrot <pierre-marie.pedrot@inria.fr> | 2016-08-16 11:57:43 +0200 |
---|---|---|
committer | Pierre-Marie Pédrot <pierre-marie.pedrot@inria.fr> | 2016-08-16 11:57:43 +0200 |
commit | d9009ceedf928ef9567f7b3045c46df00662c21d (patch) | |
tree | 6746aa12ec344dd52d9375b1bc4caf84ebcc81e8 /toplevel | |
parent | fa324f9bedcc8f05421f729e49ebd0494aeb8765 (diff) | |
parent | 3941c270d79c3e3a4be12ba260a2694e523e4229 (diff) |
Merge branch 'v8.5' into v8.6
Diffstat (limited to 'toplevel')
-rw-r--r-- | toplevel/coqtop.ml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toplevel/coqtop.ml b/toplevel/coqtop.ml index d141cd8ec..c49a97cad 100644 --- a/toplevel/coqtop.ml +++ b/toplevel/coqtop.ml @@ -54,7 +54,7 @@ let init_color () = Terminal.has_style Unix.stderr && (* emacs compilation buffer does not support colors by default, its TERM variable is set to "dumb". *) - Unix.getenv "TERM" <> "dumb" + try Sys.getenv "TERM" <> "dumb" with Not_found -> false in if has_color then begin let colors = try Some (Sys.getenv "COQ_COLORS") with Not_found -> None in |