diff lisp/progmodes/compile.el @ 45582:08fe4d419957

Modified doc string to say that the kill-compilation function also kills processes made by a grep command; created a defalias, kill-grep.
author Robert J. Chassell <bob@rattlesnake.com>
date Thu, 30 May 2002 13:47:32 +0000
parents 7c87a236ef78
children 996be238a122
line wrap: on
line diff
--- a/lisp/progmodes/compile.el	Thu May 30 01:07:52 2002 +0000
+++ b/lisp/progmodes/compile.el	Thu May 30 13:47:32 2002 +0000
@@ -1385,15 +1385,15 @@
   (interactive "p")
   (compilation-next-file (- n)))
 
-
 (defun kill-compilation ()
-  "Kill the process made by the \\[compile] command."
+  "Kill the process made by the \\[compile] or \\[grep] commands."
   (interactive)
   (let ((buffer (compilation-find-buffer)))
     (if (get-buffer-process buffer)
 	(interrupt-process (get-buffer-process buffer))
       (error "The compilation process is not running"))))
 
+(defalias 'kill-grep 'kill-compilation)
 
 ;; Parse any new errors in the compilation buffer,
 ;; or reparse from the beginning if the user has asked for that.