aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorDavid Kastrup2005-01-22 15:43:56 +0000
committerDavid Kastrup2005-01-22 15:43:56 +0000
commit3d4d788a38060b1bb2435a57876d4065eb005b5b (patch)
tree1cea4b00e2178be41ae4435604a1744b734e37ba /lisp
parent557724a8715a9445fdb5815403c46afef3bdf2eb (diff)
downloademacs-3d4d788a38060b1bb2435a57876d4065eb005b5b.tar.gz
emacs-3d4d788a38060b1bb2435a57876d4065eb005b5b.zip
* 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'.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ChangeLog4
-rw-r--r--lisp/progmodes/grep.el3
2 files changed, 7 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index d5b86e7c145..1b0181b63fb 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,7 @@
12005-01-22 David Kastrup <dak@gnu.org>
2
3 * progmodes/grep.el: Add alias `find-grep' for `grep-find'.
4
12005-01-22 Eli Zaretskii <eliz@gnu.org> 52005-01-22 Eli Zaretskii <eliz@gnu.org>
2 6
3 * type-break.el (type-break-mode): Add a test for 7 * type-break.el (type-break-mode): Add a test for
diff --git a/lisp/progmodes/grep.el b/lisp/progmodes/grep.el
index 8efa48aaa48..a3b1ab3abdd 100644
--- a/lisp/progmodes/grep.el
+++ b/lisp/progmodes/grep.el
@@ -542,6 +542,9 @@ easily repeat a find command."
542 (let ((null-device nil)) ; see grep 542 (let ((null-device nil)) ; see grep
543 (grep command-args)))) 543 (grep command-args))))
544 544
545;;;###autoload
546(defalias 'find-grep 'grep-find)
547
545(defun grep-expand-command-macros (command &optional regexp files dir excl case-fold) 548(defun grep-expand-command-macros (command &optional regexp files dir excl case-fold)
546 "Patch grep COMMAND replacing <D>, etc." 549 "Patch grep COMMAND replacing <D>, etc."
547 (setq command 550 (setq command