aboutsummaryrefslogtreecommitdiff
path: root/generic/proof-shell.el
diff options
context:
space:
mode:
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))