/[emacs]/emacs/lisp/progmodes/compile.el
ViewVC logotype

Diff of /emacs/lisp/progmodes/compile.el

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.254 by rms, Fri May 10 01:00:07 2002 UTC revision 1.255 by bob, Thu May 30 13:47:32 2002 UTC
# Line 1385  Does NOT find the source line like \\[ne Line 1385  Does NOT find the source line like \\[ne
1385    (interactive "p")    (interactive "p")
1386    (compilation-next-file (- n)))    (compilation-next-file (- n)))
1387    
   
1388  (defun kill-compilation ()  (defun kill-compilation ()
1389    "Kill the process made by the \\[compile] command."    "Kill the process made by the \\[compile] or \\[grep] commands."
1390    (interactive)    (interactive)
1391    (let ((buffer (compilation-find-buffer)))    (let ((buffer (compilation-find-buffer)))
1392      (if (get-buffer-process buffer)      (if (get-buffer-process buffer)
1393          (interrupt-process (get-buffer-process buffer))          (interrupt-process (get-buffer-process buffer))
1394        (error "The compilation process is not running"))))        (error "The compilation process is not running"))))
1395    
1396    (defalias 'kill-grep 'kill-compilation)
1397    
1398  ;; Parse any new errors in the compilation buffer,  ;; Parse any new errors in the compilation buffer,
1399  ;; or reparse from the beginning if the user has asked for that.  ;; or reparse from the beginning if the user has asked for that.

Legend:
Removed from v.1.254  
changed lines
  Added in v.1.255

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26