From: Mark Wooding Date: Sat, 12 May 2018 09:30:05 +0000 (+0100) Subject: el/dot-emacs.el: Suppress `/dev/null' filename when running `git grep'. X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/profile/commitdiff_plain/6a0a9a519d5905b25c93f4c8378979ccea35a8c4?ds=inline el/dot-emacs.el: Suppress `/dev/null' filename when running `git grep'. Yay. It works again. --- 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.