aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/progmodes/compile.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/progmodes/compile.el b/lisp/progmodes/compile.el
index a01ec3dcace..8a5bd07b25b 100644
--- a/lisp/progmodes/compile.el
+++ b/lisp/progmodes/compile.el
@@ -243,7 +243,8 @@ Returns the compilation buffer created."
243 (if comp-proc 243 (if comp-proc
244 (if (or (not (eq (process-status comp-proc) 'run)) 244 (if (or (not (eq (process-status comp-proc) 'run))
245 (yes-or-no-p 245 (yes-or-no-p
246 "A compilation process is running; kill it? ")) 246 (format "A %s process is running; kill it? "
247 name-of-mode)))
247 (condition-case () 248 (condition-case ()
248 (progn 249 (progn
249 (interrupt-process comp-proc) 250 (interrupt-process comp-proc)