From 94e65e0d28e1ce2984660f3c4749b9131af8a939 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20Dj=C3=A4rv?= Date: Fri, 28 Mar 2008 10:05:53 +0000 Subject: [PATCH] (grep-mode-tool-bar-map): The same. --- lisp/progmodes/grep.el | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lisp/progmodes/grep.el b/lisp/progmodes/grep.el index 6cd5c657aef..328588065c6 100644 --- a/lisp/progmodes/grep.el +++ b/lisp/progmodes/grep.el @@ -240,6 +240,8 @@ See `compilation-error-screen-columns'" :help "Goto next match") (tool-bar-local-item "cancel" 'kill-compilation 'kill-compilation map + :enable '(let ((buffer (compilation-find-buffer))) + (get-buffer-process buffer)) :help "Stop grep") (tool-bar-local-item "refresh" 'recompile 'recompile map -- 2.39.5