Commit 5af370ab authored by Jan Djärv's avatar Jan Djärv
Browse files

(compilation-mode-tool-bar-map): Only enable

kill if a process is running.
parent 94e65e0d
2008-03-28 Jan Djärv <jan.h.d@swipnet.se>
* progmodes/compile.el (compilation-mode-tool-bar-map): Only enable
kill if a process is running.
* progmodes/grep.el (grep-mode-tool-bar-map): The same.
2008-03-28 Dan Nicolaescu <dann@ics.uci.edu>
 
* vc.el: Add new backend function 'status-extra-headers.
......
......@@ -1429,6 +1429,8 @@ Returns the compilation buffer created."
:help "Goto next error")
(tool-bar-local-item
"cancel" 'kill-compilation 'kill-compilation map
:enable '(let ((buffer (compilation-find-buffer)))
(get-buffer-process buffer))
:help "Stop compilation")
(tool-bar-local-item
"refresh" 'recompile 'recompile map
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment