diff options
| author | Robert Pluim | 2019-10-17 15:55:06 +0200 |
|---|---|---|
| committer | Robert Pluim | 2019-10-21 11:32:12 +0200 |
| commit | a5ca89d35c9762b1ff850235e0df5fdb4e77079d (patch) | |
| tree | bb65c1028ae15d6eaf484ab006a8596465caa51e /etc | |
| parent | 435eb82e7b7e8926a3675bac74713e7c6081f7db (diff) | |
| download | emacs-a5ca89d35c9762b1ff850235e0df5fdb4e77079d.tar.gz emacs-a5ca89d35c9762b1ff850235e0df5fdb4e77079d.zip | |
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.
Diffstat (limited to 'etc')
| -rw-r--r-- | etc/NEWS | 5 |
1 files changed, 5 insertions, 0 deletions
| @@ -815,6 +815,11 @@ The default value is 'find-dired-sort-by-filename'. | |||
| 815 | *** New command 'log-edit-generate-changelog-from-diff', bound to 'C-c C-w'. | 815 | *** New command 'log-edit-generate-changelog-from-diff', bound to 'C-c C-w'. |
| 816 | This generates ChangeLog entries from the VC fileset diff. | 816 | This generates ChangeLog entries from the VC fileset diff. |
| 817 | 817 | ||
| 818 | *** 'vc-dir' now shows a button allowing you to hide the stash list. | ||
| 819 | Controlled by user option 'vc-git-show-stash'. Default t means show | ||
| 820 | the entire list as before. An integer value limits the list length | ||
| 821 | (but still allows you to show the entire list via the button). | ||
| 822 | |||
| 818 | *** Recording ChangeLog entries doesn't require an actual file. | 823 | *** Recording ChangeLog entries doesn't require an actual file. |
| 819 | If a ChangeLog file doesn't exist, and if the new user option | 824 | If a ChangeLog file doesn't exist, and if the new user option |
| 820 | 'add-log-dont-create-changelog-file' is non-nil (which is the | 825 | 'add-log-dont-create-changelog-file' is non-nil (which is the |