]> git.eshelyaron.com Git - emacs.git/commit
Don't assume 'grep' supports GREP_OPTIONS.
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 17 Sep 2014 00:07:12 +0000 (17:07 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 17 Sep 2014 00:07:12 +0000 (17:07 -0700)
commit2e4c2fe2787785a421f256541de642976e9bd90b
treea2774ba928b04857ff411c7255f23f17273dd188
parent89b34071dd6663bc5b302f4a4088433ea23d061e
Don't assume 'grep' supports GREP_OPTIONS.

The GREP_OPTIONS environment variable is planned to be marked
obsolescent in GNU grep, due to problems in its use, so stop
relying on it.
* progmodes/grep.el (grep-highlight-matches): Document this.
(grep-process-setup): Do not set GREP_OPTIONS.
(grep-compute-defaults): Use an explicit --color option if supported.
lisp/ChangeLog
lisp/progmodes/grep.el