diff options
| author | Eli Zaretskii | 2004-05-02 15:38:02 +0000 |
|---|---|---|
| committer | Eli Zaretskii | 2004-05-02 15:38:02 +0000 |
| commit | cf8f099f0a318f7888d9a99b4db820bb6bd6471a (patch) | |
| tree | aa2cd53cff1d866b17ef95643dc5921133cb8859 | |
| parent | 6482d093194a4b79f0e736ae468fa5c1bb3fa80b (diff) | |
| download | emacs-cf8f099f0a318f7888d9a99b4db820bb6bd6471a.tar.gz emacs-cf8f099f0a318f7888d9a99b4db820bb6bd6471a.zip | |
(compilation-start): In the no-async-subprocesses branch, call
sit-for to give redisplay a chance to show the updated process
status in the mode line.
| -rw-r--r-- | lisp/ChangeLog | 6 | ||||
| -rw-r--r-- | lisp/progmodes/compile.el | 1 |
2 files changed, 7 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 0d214753a58..972ba721ffa 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2004-05-02 Eli Zaretskii <eliz@gnu.org> | ||
| 2 | |||
| 3 | * progmodes/compile.el (compilation-start): In the | ||
| 4 | no-async-subprocesses branch, call sit-for to give redisplay a | ||
| 5 | chance to show the updated process status in the mode line. | ||
| 6 | |||
| 1 | 2004-05-01 Luc Teirlinck <teirllm@auburn.edu> | 7 | 2004-05-01 Luc Teirlinck <teirllm@auburn.edu> |
| 2 | 8 | ||
| 3 | * ielm.el (ielm-prompt-read-only): Update docstring. | 9 | * ielm.el (ielm-prompt-read-only): Update docstring. |
diff --git a/lisp/progmodes/compile.el b/lisp/progmodes/compile.el index d31a93311b5..376136e33ae 100644 --- a/lisp/progmodes/compile.el +++ b/lisp/progmodes/compile.el | |||
| @@ -944,6 +944,7 @@ Returns the compilation buffer created." | |||
| 944 | ;; Fake modeline display as if `start-process' were run. | 944 | ;; Fake modeline display as if `start-process' were run. |
| 945 | (setq mode-line-process ":run") | 945 | (setq mode-line-process ":run") |
| 946 | (force-mode-line-update) | 946 | (force-mode-line-update) |
| 947 | (sit-for 0) ; Force redisplay | ||
| 947 | (let ((status (call-process shell-file-name nil outbuf nil "-c" | 948 | (let ((status (call-process shell-file-name nil outbuf nil "-c" |
| 948 | command))) | 949 | command))) |
| 949 | (cond ((numberp status) | 950 | (cond ((numberp status) |