diff options
| author | David Aspinall | 2009-08-17 16:45:41 +0000 |
|---|---|---|
| committer | David Aspinall | 2009-08-17 16:45:41 +0000 |
| commit | c8cd8ace98d6e0f3ebdce7718d92229f0c31dbec (patch) | |
| tree | 2afdc999c3e9441ec47e9957d358e4153458f59d /generic/pg-user.el | |
| parent | 6c0ea2f4c2fa6c7e4c157080c763902134f5e273 (diff) | |
Move proof-interrupt-process to proof-shell. Add pending interrupt behaviour. See http://proofgeneral.inf.ed.ac.uk/trac/ticket/179
Diffstat (limited to 'generic/pg-user.el')
| -rw-r--r-- | generic/pg-user.el | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/generic/pg-user.el b/generic/pg-user.el index 41fa4de9..642387c7 100644 --- a/generic/pg-user.el +++ b/generic/pg-user.el @@ -135,33 +135,6 @@ the proof script." (error "Not proving"))))) ;; -;; Interrupt -;; - -;;;###autoload -(defun proof-interrupt-process () - "Interrupt the proof assistant. Warning! This may confuse Proof General. -This sends an interrupt signal to the proof assistant, if Proof General -thinks it is busy. - -This command is risky because when an interrupt is trapped in the -proof assistant, we don't know whether the last command succeeded or -not. The assumption is that it didn't, which should be true most of -the time, and all of the time if the proof assistant has a careful -handling of interrupt signals." - (interactive) - (unless (proof-shell-live-buffer) - (error "Proof Process Not Started!")) - (unless proof-shell-busy - (error "Proof Process Not Active!")) - (with-current-buffer proof-shell-buffer - ;; Send send an interrrupt, without comint-skip-input effect. - ;; Interrupt is processed inside proof-shell. - (interrupt-process nil comint-ptyp) - (run-hooks 'proof-shell-pre-interrupt-hook))) - - -;; ;; Movement commands ;; |
