help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

using find-grep in emacs


From: Rami A
Subject: using find-grep in emacs
Date: Mon, 13 May 2013 16:47:15 -0700 (PDT)
User-agent: G2/1.0

Hi,
I am trying to setup some default for grep-find in emacs.
I do the following to search in the source code:
M-x find-grep
which give:
find . -type f -exec grep -n  {} /dev/null \;

Now I have to change /dev/null to be the directory which I want to search in.
How is it possible to not do that every time I use find-grep and that it could 
remember the directory I am specifying.

Also, How to make it default to search all three file types .h .s .c and 
nothing else?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]