diff options
author | Noam Postavsky <npostavs@gmail.com> | 2016-09-13 20:48:09 -0400 |
---|---|---|
committer | Noam Postavsky <npostavs@gmail.com> | 2017-07-19 20:03:00 -0400 |
commit | 644cdd1aa0a10dbfffa3b9b4c7a97f8cddded0b8 (patch) | |
tree | e32e53f267c7607806d0a88d239fd4e79ba2f965 /lisp/emacs-lisp | |
parent | eda9aa0d314ca8e8919d4c17927aa86290449f8d (diff) | |
download | emacs-644cdd1aa0a10dbfffa3b9b4c7a97f8cddded0b8.tar.gz emacs-644cdd1aa0a10dbfffa3b9b4c7a97f8cddded0b8.tar.bz2 emacs-644cdd1aa0a10dbfffa3b9b4c7a97f8cddded0b8.zip |
Use grep's --null option (Bug#6843)
* lisp/progmodes/grep.el (grep-use-null-filename-separator): New option.
(grep--regexp-alist-column, grep--regexp-alist-bin-matcher)
(grep-with-null-regexp-alist, grep-fallback-regexp-alist): New
constants, replacing `grep-regexp-alist'.
(grep-regex-alist): Mark the variable obsolete, add a new function of
the same name to replace it.
(grep-compute-defaults): Compute default for
`grep-use-null-filename-separator'.
(grep-mode): Set compilation-error-regexp-alist (buffer locally) to the
value of `grep-with-null-regexp-alist' or `grep-fallback-regexp-alist'
according to `grep-use-null-filename-separator'.
* lisp/progmodes/xref.el (xref-collect-matches): Call
`grep-regex-alist' instead of the obsolete variable. Don't hardcode
grep-regexp-alist match groups.
* etc/NEWS: Announce new use of --null. Move 'grep-save-buffers'
item under "Grep" heading as well.
Diffstat (limited to 'lisp/emacs-lisp')
0 files changed, 0 insertions, 0 deletions