el/dot-emacs.el: Override git's use of a pager more vigorously.
[profile] / 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)