diff options
| author | Juri Linkov | 2018-02-12 23:39:28 +0200 |
|---|---|---|
| committer | Juri Linkov | 2018-02-12 23:39:28 +0200 |
| commit | 4fa467eefa6c8ef97a4e1526c809cdabeba98878 (patch) | |
| tree | 7275f8b85e808287fc5c4f0b670bcae32c1ccb39 /src/coding.c | |
| parent | a22820a31c191451334eec101125f7b621d6dbc0 (diff) | |
| download | emacs-4fa467eefa6c8ef97a4e1526c809cdabeba98878.tar.gz emacs-4fa467eefa6c8ef97a4e1526c809cdabeba98878.zip | |
* lisp/progmodes/grep.el (grep-num-matches-found): New variable.
(grep-mode-line-matches): New defconst.
(grep-mode-font-lock-keywords): Update the regexp for “Grep finished”
to include the number of matches found.
(grep-process-setup): Set grep-num-matches-found to 0.
(grep-exit-message): New function with body moved from lambda
in grep-process-setup. Use grep-num-matches-found to return
the number of matches found.
(grep-filter): Increment grep-num-matches-found.
(grep-mode): Set compilation-mode-line-errors to grep-mode-line-matches.
(Bug#30397, bug#14017)
Diffstat (limited to 'src/coding.c')
0 files changed, 0 insertions, 0 deletions