aboutsummaryrefslogtreecommitdiff
path: root/generic
diff options
context:
space:
mode:
authorDavid Aspinall2008-01-29 23:08:52 +0000
committerDavid Aspinall2008-01-29 23:08:52 +0000
commit1350dafff63d381ba25b5b333d3637af2eeca4db (patch)
tree6b97b277ab53b7d6e37cdcd413c6307c5fdc6be4 /generic
parentb15aac581cf3ab0abc1d7d732a6fab1e7a4e0623 (diff)
proof-interrupt-process: avoid effect of comint-skip-input (printing interrupt key).
Diffstat (limited to 'generic')
-rw-r--r--generic/pg-user.el8
1 files changed, 4 insertions, 4 deletions
diff --git a/generic/pg-user.el b/generic/pg-user.el
index 80794058..a9807988 100644
--- a/generic/pg-user.el
+++ b/generic/pg-user.el
@@ -18,7 +18,7 @@
(require 'span)
(require 'proof) ; loader
(require 'proof-script) ; we build on proof-script
-(require 'comint) ; comint-interrupt-subjob
+(require 'comint) ; comint-interrupt-subjob/comint-ptyp
(eval-when-compile
(require 'completion)) ; loaded dynamically at runtime
@@ -161,9 +161,9 @@ handling of interrupt signals."
(unless proof-shell-busy
(error "Proof Process Not Active!"))
(with-current-buffer proof-shell-buffer
- ;; Just send an interrrupt.
- ;; Action on receiving one is triggered in proof-shell
- (comint-interrupt-subjob)
+ ;; 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)))