el/dot-emacs.el: Suppress `/dev/null' filename when running `git grep'.
authorMark Wooding <mdw@distorted.org.uk>
Sat, 12 May 2018 09:30:05 +0000 (10:30 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Sat, 12 May 2018 09:32:48 +0000 (10:32 +0100)
Yay.  It works again.

el/dot-emacs.el

index 24d076d..77d604c 100644 (file)
@@ -4016,7 +4016,8 @@ This allows you to pass a list of arguments through `ansi-term'."
   (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.