Mercurial > emacs
comparison lisp/progmodes/grep.el @ 93335:36e2d4840e38
(grep-mode-tool-bar-map): The same.
author | Jan Djärv <jan.h.d@swipnet.se> |
---|---|
date | Fri, 28 Mar 2008 10:05:53 +0000 |
parents | 57fa8ebfd227 |
children | e93898d6903e |
comparison
equal
deleted
inserted
replaced
93334:c598ce296aea | 93335:36e2d4840e38 |
---|---|
238 "right-arrow" 'next-error-no-select 'next-error-no-select map | 238 "right-arrow" 'next-error-no-select 'next-error-no-select map |
239 :rtl "left-arrow" | 239 :rtl "left-arrow" |
240 :help "Goto next match") | 240 :help "Goto next match") |
241 (tool-bar-local-item | 241 (tool-bar-local-item |
242 "cancel" 'kill-compilation 'kill-compilation map | 242 "cancel" 'kill-compilation 'kill-compilation map |
243 :enable '(let ((buffer (compilation-find-buffer))) | |
244 (get-buffer-process buffer)) | |
243 :help "Stop grep") | 245 :help "Stop grep") |
244 (tool-bar-local-item | 246 (tool-bar-local-item |
245 "refresh" 'recompile 'recompile map | 247 "refresh" 'recompile 'recompile map |
246 :help "Restart grep") | 248 :help "Restart grep") |
247 (append map help)))) | 249 (append map help)))) |