diff options
| author | David Aspinall | 2000-03-19 06:37:18 +0000 |
|---|---|---|
| committer | David Aspinall | 2000-03-19 06:37:18 +0000 |
| commit | e221aeb51f9ba828ec71e49960fd538c26aaab5b (patch) | |
| tree | 810fa16deba72331e1631cd32160203844ed2591 | |
| parent | 8d9c172d00b0065869856bdc0ae68e533938ef72 (diff) | |
Added settings for silent control.
| -rw-r--r-- | isa/isa.el | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -110,6 +110,8 @@ and script mode." proof-info-command "ProofGeneral.help()" proof-kill-goal-command "ProofGeneral.kill_goal();" proof-find-theorems-command "ProofGeneral.thms_containing [\"%s\"]" + proof-shell-start-silent-cmd "proofgeneral_disable_pr();" + proof-shell-stop-silent-cmd "proofgeneral_enable_pr();" ;; command hooks proof-goal-command-p 'isa-goal-command-p proof-count-undos-fn 'isa-count-undos @@ -167,7 +169,8 @@ and script mode." proof-shell-end-goals-regexp) ;; initial command configures Isabelle by hacking print functions. - proof-shell-init-cmd "ProofGeneral.init false;" + ;; FIXME: temporary hack for almost enabling/disabling printing. + proof-shell-init-cmd "val pg_saved_gl = ref (!goals_limit); fun proofgeneral_enable_pr () = goals_limit:= !pg_saved_gl; fun proofgeneral_disable_pr() = (pg_saved_gl := !goals_limit; goals_limit := 0); ProofGeneral.init false;" proof-shell-restart-cmd "ProofGeneral.isa_restart();" proof-shell-quit-cmd "quit();" |
