aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuri Linkov2009-01-25 00:55:22 +0000
committerJuri Linkov2009-01-25 00:55:22 +0000
commit5d91db30c6c6454b782369a91033d0ce945147b1 (patch)
treede53630b1f6050154979e7fef1bb467a279f7abc
parent5fe829521cfe73890a7ca3e5e39dac4ea21f51a1 (diff)
downloademacs-5d91db30c6c6454b782369a91033d0ce945147b1.tar.gz
emacs-5d91db30c6c6454b782369a91033d0ce945147b1.zip
(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.
-rw-r--r--lisp/ChangeLog6
-rw-r--r--lisp/progmodes/grep.el12
2 files changed, 15 insertions, 3 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 400ea4052e7..84ee20c0ccd 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,9 @@
12009-01-25 Juri Linkov <juri@jurta.org>
2
3 * progmodes/grep.el (grep-mode-map): Put grep-find before grep and
4 change its title from "Recursive grep..." to "Grep via Find...".
5 Add menu items for lgrep and rgrep.
6
12009-01-24 Geoff Gole <geoffgole@gmail.com> (tiny change) 72009-01-24 Geoff Gole <geoffgole@gmail.com> (tiny change)
2 8
3 * align.el (align-region): Avoid infloop. 9 * align.el (align-region): Avoid infloop.
diff --git a/lisp/progmodes/grep.el b/lisp/progmodes/grep.el
index e6447563278..b4bcc5c88a5 100644
--- a/lisp/progmodes/grep.el
+++ b/lisp/progmodes/grep.el
@@ -204,12 +204,18 @@ See `compilation-error-screen-columns'"
204 (define-key map [menu-bar grep compilation-compile] 204 (define-key map [menu-bar grep compilation-compile]
205 '(menu-item "Compile..." compile 205 '(menu-item "Compile..." compile
206 :help "Compile the program including the current buffer. Default: run `make'")) 206 :help "Compile the program including the current buffer. Default: run `make'"))
207 (define-key map [menu-bar grep compilation-rgrep]
208 '(menu-item "Recursive grep..." rgrep
209 :help "User-friendly recursive grep in directory tree"))
210 (define-key map [menu-bar grep compilation-lgrep]
211 '(menu-item "Local grep..." lgrep
212 :help "User-friendly grep in a directory"))
213 (define-key map [menu-bar grep compilation-grep-find]
214 '(menu-item "Grep via Find..." grep-find
215 :help "Run grep via find, with user-specified args"))
207 (define-key map [menu-bar grep compilation-grep] 216 (define-key map [menu-bar grep compilation-grep]
208 '(menu-item "Another grep..." grep 217 '(menu-item "Another grep..." grep
209 :help "Run grep, with user-specified args, and collect output in a buffer.")) 218 :help "Run grep, with user-specified args, and collect output in a buffer."))
210 (define-key map [menu-bar grep compilation-grep-find]
211 '(menu-item "Recursive grep..." grep-find
212 :help "Run grep via find, with user-specified args"))
213 (define-key map [menu-bar grep compilation-recompile] 219 (define-key map [menu-bar grep compilation-recompile]
214 '(menu-item "Repeat grep" recompile 220 '(menu-item "Repeat grep" recompile
215 :help "Run grep again")) 221 :help "Run grep again"))