diff options
author | Noam Postavsky <npostavs@gmail.com> | 2017-07-30 14:47:05 -0400 |
---|---|---|
committer | Noam Postavsky <npostavs@gmail.com> | 2017-08-06 20:25:11 -0400 |
commit | c2f1830d69f5a5e20dac6fcbf3af4d51afba92bd (patch) | |
tree | a585023b7bbf06d57ac72188cfd34460a788ad18 /lisp/cedet | |
parent | 93511e94735de5862880f5ea9bf12705c1440363 (diff) | |
download | emacs-c2f1830d69f5a5e20dac6fcbf3af4d51afba92bd.tar.gz |
Merge null and without-null regexp alists (Bug#27840, Bug#27873)
* lisp/progmodes/grep.el (grep-mode-font-lock-keywords): Allow for NUL
characters following filename in grep context lines.
(grep--regexp-alist-column, grep--regexp-alist-bin-matcher)
(grep-with-null-regexp-alist, grep-fallback-regexp-alist): Remove.
(grep-regexp-alist): Recombine their contents here.
(grep-mode):
* lisp/cedet/semantic/symref/grep.el
(semantic-symref-parse-tool-output-one-line):
* lisp/progmodes/xref.el (xref-collect-matches): Use the variable
`grep-regexp-alist' rather than the function.
Diffstat (limited to 'lisp/cedet')
-rw-r--r-- | lisp/cedet/semantic/symref/grep.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/cedet/semantic/symref/grep.el b/lisp/cedet/semantic/symref/grep.el index df71508da7c..f7c72bfb0be 100644 --- a/lisp/cedet/semantic/symref/grep.el +++ b/lisp/cedet/semantic/symref/grep.el @@ -193,7 +193,7 @@ This shell should support pipe redirect syntax." "Parse one line of grep output, and return it as a match list. Moves cursor to end of the match." (pcase-let - ((`(,grep-re ,file-group ,line-group . ,_) (car (grep-regexp-alist)))) + ((`(,grep-re ,file-group ,line-group . ,_) (car grep-regexp-alist))) (cond ((eq (oref tool :resulttype) 'file) ;; Search for files (when (re-search-forward "^\\([^\n]+\\)$" nil t) |