aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorDmitry Gutov2015-06-26 20:21:50 +0300
committerDmitry Gutov2015-06-27 23:57:28 +0300
commit9b4b4a8355506a0253d8a4943e0a9aa87f9e92eb (patch)
tree068efb98ea3c08db953b1989c26786254564cd50 /etc
parentda5e0050ac161bd9d665c4b406a95bee4f3b4085 (diff)
downloademacs-9b4b4a8355506a0253d8a4943e0a9aa87f9e92eb.tar.gz
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 'etc')
-rw-r--r--etc/NEWS9
1 files changed, 9 insertions, 0 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 84636552973..1f8cbbc1b98 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -883,6 +883,15 @@ word syntax, use `\sw' instead.
883** The `diff' command uses the unified format now. To restore the old 883** The `diff' command uses the unified format now. To restore the old
884behavior, set `diff-switches' to `-c'. 884behavior, set `diff-switches' to `-c'.
885 885
886** `grep-template' and `grep-find-template' values don't include the
887--color argument anymore. It's added at the <C> place holder position
888dynamically.
889
890** `grep-template' and `grep-find-template' values don't include the
891--color argument anymore. It's added at the <C> place holder position
892dynamically. Any third-party code that changes these templates should
893be updated accordingly.
894
886 895
887* Lisp Changes in Emacs 25.1 896* Lisp Changes in Emacs 25.1
888 897