From bce104e3bb510fb10df2ecddebb47514328f2b8d Mon Sep 17 00:00:00 2001 From: lmamane Date: Wed, 10 Jan 2007 15:44:44 +0000 Subject: Merge from Lionel Elie Mamane's private branch: - Makefile: Option (environment variable NO_RECOMPILE_LIB) to not recompile the whole standard library just because the coq binaries got rebuilt. - Infrastructure to change the object pretty-printers at runtime. - Use that infrastructure to make coqtop-protocol with Pcoq trees and Pcoq-protocol with pretty-printed terms possible in coq-interface. - Make "Back(track)" into closed sections, modules and module types "Just Work™". - Modernise/generalise Pcoq protocol a bit, make some of its warts optional. - Implement "Show." in Pcoq mode. - Add Rpow_def.vo to REALSBASEVO so that its dependencies are computed (and used). - "make revision" now handles GNU Arch / tla in addition to svn. git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@9476 85f007b7-540e-0410-9357-904b9bb8a0f7 --- lib/pp.ml4 | 1 + lib/pp.mli | 1 + 2 files changed, 2 insertions(+) (limited to 'lib') diff --git a/lib/pp.ml4 b/lib/pp.ml4 index 3244993377..d4e6eb722b 100644 --- a/lib/pp.ml4 +++ b/lib/pp.ml4 @@ -17,6 +17,7 @@ open Pp_control [Pp] -> [Options] *) let print_emacs = ref false let make_pp_emacs() = print_emacs:=true +let make_pp_nonemacs() = print_emacs:=false (* The different kinds of blocks are: \begin{description} diff --git a/lib/pp.mli b/lib/pp.mli index d4248cc7f2..7b9d7d6637 100644 --- a/lib/pp.mli +++ b/lib/pp.mli @@ -16,6 +16,7 @@ open Pp_control chars inserted at some places). This function should called once in module [Options], that's all. *) val make_pp_emacs:unit -> unit +val make_pp_nonemacs:unit -> unit (* Pretty-printers. *) -- cgit v1.2.3