aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/comint.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/comint.el')
-rw-r--r--lisp/comint.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/comint.el b/lisp/comint.el
index e797fe841d3..42ac08a9ecc 100644
--- a/lisp/comint.el
+++ b/lisp/comint.el
@@ -1847,9 +1847,9 @@ Similarly for Soar, Scheme, etc."
1847 (let ((echo-len (- comint-last-input-end 1847 (let ((echo-len (- comint-last-input-end
1848 comint-last-input-start))) 1848 comint-last-input-start)))
1849 ;; Wait for all input to be echoed: 1849 ;; Wait for all input to be echoed:
1850 (while (and (accept-process-output proc) 1850 (while (and (> (+ comint-last-input-end echo-len)
1851 (> (+ comint-last-input-end echo-len)
1852 (point-max)) 1851 (point-max))
1852 (accept-process-output proc)
1853 (zerop 1853 (zerop
1854 (compare-buffer-substrings 1854 (compare-buffer-substrings
1855 nil comint-last-input-start 1855 nil comint-last-input-start