1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-14 09:39:42 +00:00

* compile.el (compile-internal): Use NAME-OF-MODE in the prompt

when offering to kill an existing process.
This commit is contained in:
Jim Blandy 1992-11-07 06:12:11 +00:00
parent 0761aafc45
commit bea1d57a78

View File

@ -243,7 +243,8 @@ Returns the compilation buffer created."
(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)