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

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

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


From: Francis Moreau
Subject: M-x grep gets /dev/null automatically appended to the command
Date: Thu, 9 Oct 2008 17:23:33 +0200

Hello,

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 ?

thanks
-- 
Francis




reply via email to

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