diff options
| author | Karl Heuer | 1996-01-21 03:55:57 +0000 |
|---|---|---|
| committer | Karl Heuer | 1996-01-21 03:55:57 +0000 |
| commit | d91cddc27a2ec9bb59a0089e7ae96754a95e6cf9 (patch) | |
| tree | 9be1a2e661b5532ae1fefdf011c0c632e83b4dd7 /lisp/progmodes | |
| parent | 768d104bc2d3b8b7588bf7b8ba2893e55118496e (diff) | |
| download | emacs-d91cddc27a2ec9bb59a0089e7ae96754a95e6cf9.tar.gz emacs-d91cddc27a2ec9bb59a0089e7ae96754a95e6cf9.zip | |
(compilation-handle-exit): If process-status doesn't
exist (e.g. on MSDOS), use an empty string.
Diffstat (limited to 'lisp/progmodes')
| -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)) |