(compilation-mode-tool-bar-map): Only enable
kill if a process is running.
This commit is contained in:
parent
94e65e0d28
commit
5af370aba7
2 changed files with 9 additions and 0 deletions
|
@ -1,3 +1,10 @@
|
|||
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
|
||||
|
|
Loading…
Add table
Reference in a new issue