diff options
| author | Leo Liu | 2013-06-21 09:21:15 +0800 |
|---|---|---|
| committer | Leo Liu | 2013-06-21 09:21:15 +0800 |
| commit | b7deae5ee6af8b0f9343344c1bfdaa7c36467f28 (patch) | |
| tree | 5ae8429c02769b311a44bdc1be462aa17d5fc085 | |
| parent | 6b4914d244b2d3c3c216c368c20305c365e9ad98 (diff) | |
| download | emacs-b7deae5ee6af8b0f9343344c1bfdaa7c36467f28.tar.gz emacs-b7deae5ee6af8b0f9343344c1bfdaa7c36467f28.zip | |
* comint.el (comint-redirect-results-list-from-process): Fix
random delay.
Fixes: debbugs:14681
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/comint.el | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 5811fd1b0b2..e4c67dde1d9 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2013-06-21 Leo Liu <sdl.web@gmail.com> | ||
| 2 | |||
| 3 | * comint.el (comint-redirect-results-list-from-process): Fix | ||
| 4 | random delay. (Bug#14681) | ||
| 5 | |||
| 1 | 2013-06-21 Juanma Barranquero <lekktu@gmail.com> | 6 | 2013-06-21 Juanma Barranquero <lekktu@gmail.com> |
| 2 | 7 | ||
| 3 | * profiler.el (profiler-format-number): Use log, not log10. | 8 | * profiler.el (profiler-format-number): Use log, not log10. |
diff --git a/lisp/comint.el b/lisp/comint.el index 592f63fa683..c1a1c56f78a 100644 --- a/lisp/comint.el +++ b/lisp/comint.el | |||
| @@ -3725,8 +3725,8 @@ REGEXP-GROUP is the regular expression group in REGEXP to use." | |||
| 3725 | output-buffer process nil t) | 3725 | output-buffer process nil t) |
| 3726 | ;; Wait for the process to complete | 3726 | ;; Wait for the process to complete |
| 3727 | (set-buffer (process-buffer process)) | 3727 | (set-buffer (process-buffer process)) |
| 3728 | (while (null comint-redirect-completed) | 3728 | (while (and (null comint-redirect-completed) |
| 3729 | (accept-process-output nil 1)) | 3729 | (accept-process-output process))) |
| 3730 | ;; Collect the output | 3730 | ;; Collect the output |
| 3731 | (set-buffer output-buffer) | 3731 | (set-buffer output-buffer) |
| 3732 | (goto-char (point-min)) | 3732 | (goto-char (point-min)) |