diff options
author | Emilio Jesus Gallego Arias <e+git@x80.org> | 2017-05-18 07:31:36 +0200 |
---|---|---|
committer | Emilio Jesus Gallego Arias <e+git@x80.org> | 2017-06-01 15:50:26 +0200 |
commit | 6b041a242607ec906fbab451e53c15af6339e4ef (patch) | |
tree | ac7b4e6a25c0607c1770da551ed4f5de4addb310 /printing/printer.ml | |
parent | f3a388baf9cf2a14a658cab77554a0802b999486 (diff) |
[emacs] [toplevel] Make emacs flag local to the toplevel.
We remove the emacs-specific printing code from the core of Coq, now
`-emacs` is a printing flag controlled by the toplevel.
Diffstat (limited to 'printing/printer.ml')
-rw-r--r-- | printing/printer.ml | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/printing/printer.ml b/printing/printer.ml index ebe68680f..3c31dd96b 100644 --- a/printing/printer.ml +++ b/printing/printer.ml @@ -26,9 +26,6 @@ module RelDecl = Context.Rel.Declaration module NamedDecl = Context.Named.Declaration module CompactedDecl = Context.Compacted.Declaration -let emacs_str s = - if !Flags.print_emacs then s else "" - let get_current_context () = Pfedit.get_current_context () @@ -656,9 +653,6 @@ let print_dependent_evars gl sigma seeds = in cut () ++ cut () ++ str "(dependent evars:" ++ evars ++ str ")" - else if !Flags.print_emacs then - (* IDEs prefer something dummy instead of nothing *) - cut () ++ cut () ++ str "(dependent evars: (printing disabled) )" else mt () in constraints ++ evars () |