diff options
author | Robert Pluim <rpluim@gmail.com> | 2019-10-22 09:31:15 +0200 |
---|---|---|
committer | Robert Pluim <rpluim@gmail.com> | 2019-10-22 09:36:17 +0200 |
commit | 4a9d8bdca3e502c1e87c4c50df3926c629475d39 (patch) | |
tree | c927e0355a9937ec827381c2c9d328077a9c4a85 /lisp/emacs-lisp/rx.el | |
parent | d45740cd9f4f9f2cc132fb81626236789a97b2c9 (diff) | |
download | emacs-4a9d8bdca3e502c1e87c4c50df3926c629475d39.tar.gz emacs-4a9d8bdca3e502c1e87c4c50df3926c629475d39.tar.bz2 emacs-4a9d8bdca3e502c1e87c4c50df3926c629475d39.zip |
Show stash counts in button in vc-dir
Based on suggestions from Mattias EngdegÄrd.
* lisp/vc/vc-git.el (vc-git--make-button-text): New function to
generate text for stash button.
(vc-git-make-stash-button): Show stash counts. Delete and recreate
button when toggling.
(vc-git-dir-extra-headers): Pass counts to vc-git-make-stash-button.
Treat stash count <= vc-git-show-stash as equivalent to showing entire
list.
Diffstat (limited to 'lisp/emacs-lisp/rx.el')
0 files changed, 0 insertions, 0 deletions