From d91cddc27a2ec9bb59a0089e7ae96754a95e6cf9 Mon Sep 17 00:00:00 2001 From: Karl Heuer Date: Sun, 21 Jan 1996 03:55:57 +0000 Subject: [PATCH] (compilation-handle-exit): If process-status doesn't exist (e.g. on MSDOS), use an empty string. --- lisp/progmodes/compile.el | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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'." (forward-char 1) (setq mode-line-process (format ":%s [%s]" - (process-status proc) (cdr status))) + (if (fboundp 'process-status) + (process-status proc) + "") + (cdr status))) ;; Force mode line redisplay soon. (force-mode-line-update) (if (and opoint (< opoint omax)) -- 2.39.2