From 6a0a9a519d5905b25c93f4c8378979ccea35a8c4 Mon Sep 17 00:00:00 2001 Message-Id: <6a0a9a519d5905b25c93f4c8378979ccea35a8c4.1717738634.git.mdw@distorted.org.uk> From: Mark Wooding Date: Sat, 12 May 2018 10:30:05 +0100 Subject: [PATCH] el/dot-emacs.el: Suppress `/dev/null' filename when running `git grep'. Organization: Straylight/Edgeware From: Mark Wooding Yay. It works again. --- el/dot-emacs.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/el/dot-emacs.el b/el/dot-emacs.el index 24d076d..77d604c 100644 --- a/el/dot-emacs.el +++ b/el/dot-emacs.el @@ -4016,7 +4016,8 @@ (defun git-grep (command-args) (interactive (list (read-shell-command "Run git grep (like this): " git-grep-command 'git-grep-history))) - (grep command-args)) + (let ((grep-use-null-device nil)) + (grep command-args))) ;;;-------------------------------------------------------------------------- ;;; Magit configuration. -- [mdw]