# HG changeset patch # User David Kastrup # Date 1106408636 0 # Node ID 3761d1e2619d7119c2b53f7737bf8d8532870da4 # Parent 9c070f90e15affb8ad478b370760f5bdd7d28ab1 * NEWS: Mention alias `find-grep' for `grep-find'. * progmodes/grep.el: Add alias `find-grep' for `grep-find'. * building.texi (Grep Searching): Mention alias `find-grep' for `grep-find'. diff -r 9c070f90e15a -r 3761d1e2619d etc/ChangeLog --- a/etc/ChangeLog Sat Jan 22 10:55:38 2005 +0000 +++ b/etc/ChangeLog Sat Jan 22 15:43:56 2005 +0000 @@ -1,3 +1,7 @@ +2005-01-22 David Kastrup + + * NEWS: Mention alias `find-grep' for `grep-find'. + 2005-01-22 Nick Roberts * TODO: Add entry for toolbar on ttys. diff -r 9c070f90e15a -r 3761d1e2619d etc/NEWS --- a/etc/NEWS Sat Jan 22 10:55:38 2005 +0000 +++ b/etc/NEWS Sat Jan 22 15:43:56 2005 +0000 @@ -358,6 +358,10 @@ *** Grep commands now have their own submenu and customization group. ++++ +*** `grep-find' is now also available under the name `find-grep' where +people knowing `find-grep-dired' would probably expect it. + *** The new variables `grep-window-height', `grep-auto-highlight', and `grep-scroll-output' can be used to override the corresponding compilation mode settings for grep commands. diff -r 9c070f90e15a -r 3761d1e2619d lisp/ChangeLog --- a/lisp/ChangeLog Sat Jan 22 10:55:38 2005 +0000 +++ b/lisp/ChangeLog Sat Jan 22 15:43:56 2005 +0000 @@ -1,3 +1,7 @@ +2005-01-22 David Kastrup + + * progmodes/grep.el: Add alias `find-grep' for `grep-find'. + 2005-01-22 Eli Zaretskii * type-break.el (type-break-mode): Add a test for diff -r 9c070f90e15a -r 3761d1e2619d lisp/progmodes/grep.el --- a/lisp/progmodes/grep.el Sat Jan 22 10:55:38 2005 +0000 +++ b/lisp/progmodes/grep.el Sat Jan 22 15:43:56 2005 +0000 @@ -542,6 +542,9 @@ (let ((null-device nil)) ; see grep (grep command-args)))) +;;;###autoload +(defalias 'find-grep 'grep-find) + (defun grep-expand-command-macros (command &optional regexp files dir excl case-fold) "Patch grep COMMAND replacing , etc." (setq command diff -r 9c070f90e15a -r 3761d1e2619d man/ChangeLog --- a/man/ChangeLog Sat Jan 22 10:55:38 2005 +0000 +++ b/man/ChangeLog Sat Jan 22 15:43:56 2005 +0000 @@ -1,3 +1,8 @@ +2005-01-22 David Kastrup + + * building.texi (Grep Searching): Mention alias `find-grep' for + `grep-find'. + 2005-01-20 Richard M. Stallman * calendar.texi (Time Intervals): Delete special stuff for MS-DOS. diff -r 9c070f90e15a -r 3761d1e2619d man/building.texi --- a/man/building.texi Sat Jan 22 10:55:38 2005 +0000 +++ b/man/building.texi Sat Jan 22 15:43:56 2005 +0000 @@ -51,6 +51,7 @@ Run @code{grep} asynchronously under Emacs, with matching lines listed in the buffer named @samp{*grep*}. @item M-x grep-find +@item M-x find-grep Run @code{grep} via @code{find}, with user-specified arguments, and collect output in the buffer named @samp{*grep*}. @item M-x kill-compilation @@ -166,11 +167,12 @@ @code{grep} command. @findex grep-find - The command @kbd{M-x grep-find} is similar to @kbd{M-x grep}, but it -supplies a different initial default for the command---one that runs -both @code{find} and @code{grep}, so as to search every file in a -directory tree. See also the @code{find-grep-dired} command, -in @ref{Dired and Find}. +@findex find-grep + The command @kbd{M-x grep-find} (also available as @kbd{M-x +find-grep}) is similar to @kbd{M-x grep}, but it supplies a different +initial default for the command---one that runs both @code{find} and +@code{grep}, so as to search every file in a directory tree. See also +the @code{find-grep-dired} command, in @ref{Dired and Find}. @node Compilation Mode @section Compilation Mode