el/dot-emacs.el: Override git's use of a pager more vigorously.
authorMark Wooding <mdw@distorted.org.uk>
Sat, 12 May 2018 18:03:57 +0000 (19:03 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Sat, 12 May 2018 18:03:57 +0000 (19:03 +0100)
el/dot-emacs.el

index 77d604c..dcbaa78 100644 (file)
@@ -4006,7 +4006,7 @@ This allows you to pass a list of arguments through `ansi-term'."
   (ansi-term (list "ssh" host) (format "ssh@%s" host)))
 
 (defvar git-grep-command
-  "env PAGER=cat git grep --no-color -nH -e "
+  "env GIT_PAGER=cat git grep --no-color -nH -e "
   "*The default command for \\[git-grep].")
 
 (defvar git-grep-history nil)