]> git.eshelyaron.com Git - emacs.git/commit
More robust auto-detect of grep-highlight-matches (bug#49978)
authorMattias Engdegård <mattiase@acm.org>
Tue, 10 Aug 2021 15:04:34 +0000 (17:04 +0200)
committerMattias Engdegård <mattiase@acm.org>
Tue, 10 Aug 2021 15:13:35 +0000 (17:13 +0200)
commitd858a637c2ef35079fbc6cd8b2674c6b13de1e99
tree1ac1daa03d2be2637af824d0a036fb569863c8d5
parentebaae4480eecb7e4757296d0a2b776ad0b960be8
More robust auto-detect of grep-highlight-matches (bug#49978)

* lisp/progmodes/grep.el (grep-compute-defaults):
Don't require "grep --help" to finish with exit status 0 (BSD grep
does not) and check the output in a slightly more robust way.
lisp/progmodes/grep.el