diff options
author | Stephane Glondu <steph@glondu.net> | 2008-08-08 13:18:42 +0200 |
---|---|---|
committer | Stephane Glondu <steph@glondu.net> | 2008-08-08 13:18:42 +0200 |
commit | 870075f34dd9fa5792bfbf413afd3b96f17e76a0 (patch) | |
tree | 0c647056de1832cf1dba5ba58758b9121418e4be /lib/flags.ml | |
parent | a0cfa4f118023d35b767a999d5a2ac4b082857b4 (diff) |
Imported Upstream version 8.2~beta4+dfsgupstream/8.2.beta4+dfsg
Diffstat (limited to 'lib/flags.ml')
-rw-r--r-- | lib/flags.ml | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/lib/flags.ml b/lib/flags.ml index de971c7c..16ae0c64 100644 --- a/lib/flags.ml +++ b/lib/flags.ml @@ -6,9 +6,7 @@ (* * GNU Lesser General Public License Version 2.1 *) (************************************************************************) -(*i $Id: flags.ml 11077 2008-06-09 11:26:32Z herbelin $ i*) - -open Util +(*i $Id: flags.ml 11309 2008-08-06 10:30:35Z herbelin $ i*) let with_option o f x = let old = !o in o:=true; @@ -78,6 +76,8 @@ let print_hyps_limit () = !print_hyps_limit (* A list of the areas of the system where "unsafe" operation * has been requested *) +module Stringset = Set.Make(struct type t = string let compare = compare end) + let unsafe_set = ref Stringset.empty let add_unsafe s = unsafe_set := Stringset.add s !unsafe_set let is_unsafe s = Stringset.mem s !unsafe_set @@ -126,7 +126,4 @@ let browser_cmd_fmt = let coq_netscape_remote_var = "COQREMOTEBROWSER" in Sys.getenv coq_netscape_remote_var with - Not_found -> - if Sys.os_type = "Win32" - then "C:\\PROGRA~1\\INTERN~1\\IEXPLORE %s" - else "firefox -remote \"OpenURL(%s,new-tab)\" || firefox %s &" + Not_found -> Coq_config.browser |