(grep-mode-map): Put grep-find before grep and

change its title from "Recursive grep..." to "Grep via Find...".
Add menu items for lgrep and rgrep.
This commit is contained in:
Juri Linkov 2009-01-25 00:55:22 +00:00
parent 5fe829521c
commit 5d91db30c6
2 changed files with 15 additions and 3 deletions

View file

@ -1,3 +1,9 @@
2009-01-25 Juri Linkov <juri@jurta.org>
* progmodes/grep.el (grep-mode-map): Put grep-find before grep and
change its title from "Recursive grep..." to "Grep via Find...".
Add menu items for lgrep and rgrep.
2009-01-24 Geoff Gole <geoffgole@gmail.com> (tiny change)
* align.el (align-region): Avoid infloop.

View file

@ -204,12 +204,18 @@ See `compilation-error-screen-columns'"
(define-key map [menu-bar grep compilation-compile]
'(menu-item "Compile..." compile
:help "Compile the program including the current buffer. Default: run `make'"))
(define-key map [menu-bar grep compilation-rgrep]
'(menu-item "Recursive grep..." rgrep
:help "User-friendly recursive grep in directory tree"))
(define-key map [menu-bar grep compilation-lgrep]
'(menu-item "Local grep..." lgrep
:help "User-friendly grep in a directory"))
(define-key map [menu-bar grep compilation-grep-find]
'(menu-item "Grep via Find..." grep-find
:help "Run grep via find, with user-specified args"))
(define-key map [menu-bar grep compilation-grep]
'(menu-item "Another grep..." grep
:help "Run grep, with user-specified args, and collect output in a buffer."))
(define-key map [menu-bar grep compilation-grep-find]
'(menu-item "Recursive grep..." grep-find
:help "Run grep via find, with user-specified args"))
(define-key map [menu-bar grep compilation-recompile]
'(menu-item "Repeat grep" recompile
:help "Run grep again"))