aboutsummaryrefslogtreecommitdiff
path: root/generic/proof-shell.el
diff options
context:
space:
mode:
authorDavid Aspinall2000-08-29 14:32:53 +0000
committerDavid Aspinall2000-08-29 14:32:53 +0000
commit992e695a99fa2adcf966c6c3fb537488f7c5b910 (patch)
tree9fe280ef88957028308bd01106e75aeb55273223 /generic/proof-shell.el
parent8c167d58b0edbc81aa33c5a0ff7a330a4deba71f (diff)
Added proof-shell-auto-terminate-commands
Diffstat (limited to 'generic/proof-shell.el')
-rw-r--r--generic/proof-shell.el5
1 files changed, 4 insertions, 1 deletions
diff --git a/generic/proof-shell.el b/generic/proof-shell.el
index a63cd8c2..c0d1de04 100644
--- a/generic/proof-shell.el
+++ b/generic/proof-shell.el
@@ -1788,12 +1788,15 @@ Calls proof-state-change-hook."
;;;###autoload
(defun proof-shell-invisible-command (cmd &optional wait)
- "Send CMD to the proof process. Automatically add proof-terminal-char if nec.
+ "Send CMD to the proof process.
+Automatically add proof-terminal-char if necessary, examining
+proof-shell-no-auto-terminate-commands.
By default, let the command be processed asynchronously.
But if optional WAIT command is non-nil, wait for processing to finish
before and after sending the command.
If WAIT is an integer, wait for that many seconds afterwards."
(unless (or (null proof-terminal-char)
+ (not proof-shell-auto-terminate-commands)
(string-match (concat
(regexp-quote
(char-to-string proof-terminal-char))