Mercurial > emacs
changeset 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 | d997ffad4f09 |
children | d7967cbc28b1 |
files | lisp/progmodes/compile.el |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
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.