]> git.eshelyaron.com Git - emacs.git/commitdiff
(compilation-sentinel): Use `format'; `concat' doesn't
authorKarl Heuer <kwzh@gnu.org>
Fri, 24 Mar 1995 00:48:45 +0000 (00:48 +0000)
committerKarl Heuer <kwzh@gnu.org>
Fri, 24 Mar 1995 00:48:45 +0000 (00:48 +0000)
stringize integers anymore.

lisp/progmodes/compile.el

index c6c14bd60be98c4360b44ab5e7523157b06e3a41..3a9cd3218e55b389acfa44ac2a095b1941cda06e 100644 (file)
@@ -550,9 +550,8 @@ See `compilation-mode'."
                      (insert " at " (substring (current-time-string) 0 19))
                      (forward-char 1)
                      (setq mode-line-process
-                           (concat ":"
-                                   (symbol-name (process-status proc))
-                                   " [" (process-exit-status proc) "]"))
+                           (format ":%s [%d]" (process-status proc)
+                                   (process-exit-status proc)))
                      ;; Since the buffer and mode line will show that the
                      ;; process is dead, we can delete it now.  Otherwise it
                      ;; will stay around until M-x list-processes.