From c8b61d442640e59a34ab233da277931a2134e9d4 Mon Sep 17 00:00:00 2001 From: David Aspinall Date: Thu, 30 Aug 2001 14:30:02 +0000 Subject: Set proof-shell-pre-interrupt-hook for PolyML (not just PolyML 3). --- isa/isabelle-system.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/isa/isabelle-system.el b/isa/isabelle-system.el index 2d90192c..9849f1bf 100644 --- a/isa/isabelle-system.el +++ b/isa/isabelle-system.el @@ -204,10 +204,10 @@ Called with one argument: t to save database, nil otherwise." "Mark internal command for verbatim output" (concat "\^VERBATIM: " str)) -;;; Set proof-shell-pre-interrupt-hook for PolyML 3. +;;; Set proof-shell-pre-interrupt-hook for PolyML. (if (and (not proof-shell-pre-interrupt-hook) - (proof-string-match "\\`polyml-3" (isa-getenv "ML_SYSTEM"))) + (proof-string-match "\\`polyml" (isa-getenv "ML_SYSTEM"))) (add-hook 'proof-shell-pre-interrupt-hook (lambda () (proof-shell-insert (isabelle-verbatim "f") nil)))) -- cgit v1.2.3