]> git.eshelyaron.com Git - emacs.git/commit
Add button to vc-dir to toggle visibility of stash list
authorRobert Pluim <rpluim@gmail.com>
Thu, 17 Oct 2019 13:55:06 +0000 (15:55 +0200)
committerRobert Pluim <rpluim@gmail.com>
Mon, 21 Oct 2019 09:32:12 +0000 (11:32 +0200)
commita5ca89d35c9762b1ff850235e0df5fdb4e77079d
treebb65c1028ae15d6eaf484ab006a8596465caa51e
parent435eb82e7b7e8926a3675bac74713e7c6081f7db
Add button to vc-dir to toggle visibility of stash list

* lisp/vc/vc-git.el: Move cl-lib require outside 'eval-when-compile'.

* lisp/vc/vc-git.el (vc-git-show-stash):New user option.
(vc-git-make-stash-button): Create button that allows hiding the stash
list.
(vc-git-dir-extra-headers): Split stash list into hideable and
non-hideable parts depending on value of vc-git-show-stash.  Add
button to toggle visibility of hideable part.

* etc/NEWS: Announce it.
etc/NEWS
lisp/vc/vc-git.el