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

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

Re: M-x grep gets /dev/null automatically appended to the command


From: Lowell Gilbert
Subject: Re: M-x grep gets /dev/null automatically appended to the command
Date: Thu, 09 Oct 2008 12:04:44 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (berkeley-unix)

"Francis Moreau" <address@hidden> writes:

> I have customized my grep-command variable this way:
>
> (setq grep-command "git --no-pager grep -n -e ")
>
> because I'm working in a git repo.
>
> But when I start the grep command (M-x grep), emacs appends
> '/dev/null' to the git command:
>
> git --no-pager grep -n -e seq /dev/null
>
> Can anybody tell my what I'm doing wrong ?

Check grep-use-null-device.


reply via email to

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