changeset 1554:5af75a1a9a24

* compile.el (compile-internal): Use NAME-OF-MODE in the prompt when offering to kill an existing process.
author Jim Blandy <jimb@redhat.com>
date Sat, 07 Nov 1992 06:12:11 +0000
parents 6b409871cc4a
children 695c6eb2ff31
files lisp/progmodes/compile.el
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/progmodes/compile.el	Sat Nov 07 06:11:16 1992 +0000
+++ b/lisp/progmodes/compile.el	Sat Nov 07 06:12:11 1992 +0000
@@ -243,7 +243,8 @@
 	(if comp-proc
 	    (if (or (not (eq (process-status comp-proc) 'run))
 		    (yes-or-no-p
-		     "A compilation process is running; kill it? "))
+		     (format "A %s process is running; kill it? "
+			     name-of-mode)))
 		(condition-case ()
 		    (progn
 		      (interrupt-process comp-proc)