summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/syntax.el
diff options
context:
space:
mode:
authorJuri Linkov <juri@linkov.net>2018-02-12 23:39:28 +0200
committerJuri Linkov <juri@linkov.net>2018-02-12 23:39:28 +0200
commit4fa467eefa6c8ef97a4e1526c809cdabeba98878 (patch)
tree7275f8b85e808287fc5c4f0b670bcae32c1ccb39 /lisp/emacs-lisp/syntax.el
parenta22820a31c191451334eec101125f7b621d6dbc0 (diff)
downloademacs-4fa467eefa6c8ef97a4e1526c809cdabeba98878.tar.gz
emacs-4fa467eefa6c8ef97a4e1526c809cdabeba98878.tar.bz2
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 'lisp/emacs-lisp/syntax.el')
0 files changed, 0 insertions, 0 deletions