diff options
| -rw-r--r-- | lisp/progmodes/compile.el | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lisp/progmodes/compile.el b/lisp/progmodes/compile.el index 54945fe9983..881fb5a2f93 100644 --- a/lisp/progmodes/compile.el +++ b/lisp/progmodes/compile.el | |||
| @@ -601,7 +601,10 @@ See `compilation-mode'." | |||
| 601 | (forward-char 1) | 601 | (forward-char 1) |
| 602 | (setq mode-line-process | 602 | (setq mode-line-process |
| 603 | (format ":%s [%s]" | 603 | (format ":%s [%s]" |
| 604 | (process-status proc) (cdr status))) | 604 | (if (fboundp 'process-status) |
| 605 | (process-status proc) | ||
| 606 | "") | ||
| 607 | (cdr status))) | ||
| 605 | ;; Force mode line redisplay soon. | 608 | ;; Force mode line redisplay soon. |
| 606 | (force-mode-line-update) | 609 | (force-mode-line-update) |
| 607 | (if (and opoint (< opoint omax)) | 610 | (if (and opoint (< opoint omax)) |