]> git.eshelyaron.com Git - emacs.git/commit
* lisp/progmodes/xref.el: Show the number of matches on mode-line (bug#66332)
authorJuri Linkov <juri@linkov.net>
Mon, 9 Oct 2023 18:03:03 +0000 (21:03 +0300)
committerJuri Linkov <juri@linkov.net>
Mon, 9 Oct 2023 18:03:03 +0000 (21:03 +0300)
commit2cdf80bb8f56110b45dbde3e22dfa69d6f1fdc9c
tree20bb3dd470570083bf1093aca4f0e70150b7a112
parentfc1f6688a2d673e6f440700b6b256de2a96d652a
* lisp/progmodes/xref.el: Show the number of matches on mode-line (bug#66332)

(xref-num-matches-found, xref-num-matches-face, xref-mode-line-matches):
New variables.
(xref--show-xref-buffer): Set xref-num-matches-found to the length of xrefs,
and buffer-local mode-line-process to xref-mode-line-matches.
lisp/progmodes/xref.el