]> git.eshelyaron.com Git - emacs.git/commit
Generalize & simplify implementation of user edits to VC commands
authorSean Whitton <spwhitton@spwhitton.name>
Sat, 24 Sep 2022 17:39:52 +0000 (10:39 -0700)
committerSean Whitton <spwhitton@spwhitton.name>
Sat, 24 Sep 2022 18:00:07 +0000 (11:00 -0700)
commit9a5176aec018d6cb6c32614b3b1c8b0dd6d9b71a
treeb57da0ab536780f50dcca997c26196ffa150056e
parent8574ae625e3144d92bb59a0107a4404cc3d0ab86
Generalize & simplify implementation of user edits to VC commands

* lisp/vc/vc-dispatcher.el (vc-pre-command-functions)
(vc-want-edit-command-p): Delete.
(vc-filter-command-function): New variable.
(vc-user-edit-command): Factor out of vc-do-command.
(vc-do-command, vc-do-async-command)
* lisp/vc/vc-git.el (vc-git--pushpull)
* lisp/vc/vc.el (vc-print-branch-log): Use vc-filter-command-function
in place of vc-pre-command-functions and vc-want-edit-command-p.
lisp/vc/vc-dispatcher.el
lisp/vc/vc-git.el
lisp/vc/vc.el