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

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

Re: find-grep-dired - default directory to start with (SOLVED)


From: Martin Barth
Subject: Re: find-grep-dired - default directory to start with (SOLVED)
Date: Tue, 28 Jul 2015 15:24:55 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.8.0

Am 28.07.2015 um 15:08 schrieb Dmitry Gutov:
> On 07/28/2015 04:05 PM, Martin Barth wrote:
>> How do i find the definition of this function?
>
> For instance, with M-x find-function.
>

Making completion list...
`find-grep' is an alias for `grep-find'
find-library-name: Can't find library
/usr/share/emacs/24.3/lisp/progmodes/grep.el

so with googling a bit i found out that there is a grep-find-command
variable that you can modify

unfortunately

(setq grep-find-command "find.. and so on") didnt work

even what was mentioned here didnt work:
http://stackoverflow.com/questions/2148575/default-string-for-grep-find-in-emacs

|(grep-compute-defaults)
(setq grep-find-command "find.. and so on)|



But this worked:
http://stackoverflow.com/questions/28915372/change-the-default-find-grep-command-in-emacs
(grep-apply-setting 'grep-find-command "find .. and so on")

Thanks







reply via email to

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