bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#20728: 25.0.50; grep and grep-find templates should have a place hol


From: Eli Zaretskii
Subject: bug#20728: 25.0.50; grep and grep-find templates should have a place holder for the --color argument
Date: Thu, 04 Jun 2015 18:34:50 +0300

> Cc: 20728@debbugs.gnu.org
> From: Dmitry Gutov <dgutov@yandex.ru>
> Date: Thu, 4 Jun 2015 18:18:55 +0300
> 
> how would you implement automatic support for that variable in it,
> if not using a template?

  (cond
    ((eq grep-highlight-matches 'never)
      "--color=never")
    ((eq grep-highlight-matches 'auto)
      "--color=auto"

etc., you get the idea.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]