diff options
author | Dmitry Gutov <dgutov@yandex.ru> | 2015-06-26 20:21:50 +0300 |
---|---|---|
committer | Dmitry Gutov <dgutov@yandex.ru> | 2015-06-27 23:57:28 +0300 |
commit | 9b4b4a8355506a0253d8a4943e0a9aa87f9e92eb (patch) | |
tree | 068efb98ea3c08db953b1989c26786254564cd50 /lisp/emacs-lisp/cl-macs.el | |
parent | da5e0050ac161bd9d665c4b406a95bee4f3b4085 (diff) | |
download | emacs-9b4b4a8355506a0253d8a4943e0a9aa87f9e92eb.tar.gz emacs-9b4b4a8355506a0253d8a4943e0a9aa87f9e92eb.tar.bz2 emacs-9b4b4a8355506a0253d8a4943e0a9aa87f9e92eb.zip |
Add --color Grep option to the command dynamically
* lisp/progmodes/grep.el (grep-template, grep-find-template):
Update the description for <C>. (Bug#20728)
(grep-compute-defaults): Don't add the --color option to
grep-options. Only add it to grep-command.
(grep-expand-keywords): Expand the env value opts into <C>.
(grep-expand-template): Replace cf in the env with the opts list,
that can include -i and --color.
* lisp/progmodes/xref.el (xref-collect-matches): Do not remove
"--color=always" from the template, because we don't have to.
Diffstat (limited to 'lisp/emacs-lisp/cl-macs.el')
0 files changed, 0 insertions, 0 deletions