mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-26 15:21:51 -08:00
Running vc-checkin-hook needs to be delayed in the case of an async checkin. As a quick fix we had been relying on the backend checkin functions to run the hook in the async case. This restores handling running the hook in generic code even for the async case. * lisp/vc/vc.el (vc-checkin): Always pass vc-checkin-hook to vc-start-logentry. Return the result of calling the backend 'checkin-patch' or 'checkin' function to vc-finish-logentry. * lisp/vc/vc-dispatcher.el (vc-finish-logentry): If the log operation returns a cons of the form (async . #<process ...>), use vc-exec-after to delay vc-resynch-buffer and hooks until the async process completes. Approach suggested by Dmitry Gutov. * lisp/vc/vc-git.el (vc-git-checkin): * lisp/vc/vc-hg.el (vc-hg-checkin): For an async checkin, return a cons (async . #<process ...>) containing the async checkin process. No longer run vc-checkin-hook. * lisp/vc/vc.el (with-vc-properties): Return the result of evaluating FORM. * lisp/vc/vc-dispatcher.el (vc-exec-after): Change to PROC's buffer before calling vc-set-mode-line-busy-indicator. |
||
|---|---|---|
| .. | ||
| add-log.el | ||
| compare-w.el | ||
| cvs-status.el | ||
| diff-mode.el | ||
| diff.el | ||
| ediff-diff.el | ||
| ediff-help.el | ||
| ediff-hook.el | ||
| ediff-init.el | ||
| ediff-merg.el | ||
| ediff-mult.el | ||
| ediff-ptch.el | ||
| ediff-util.el | ||
| ediff-vers.el | ||
| ediff-wind.el | ||
| ediff.el | ||
| emerge.el | ||
| log-edit.el | ||
| log-view.el | ||
| pcvs-defs.el | ||
| pcvs-info.el | ||
| pcvs-parse.el | ||
| pcvs-util.el | ||
| pcvs.el | ||
| smerge-mode.el | ||
| vc-annotate.el | ||
| vc-bzr.el | ||
| vc-cvs.el | ||
| vc-dir.el | ||
| vc-dispatcher.el | ||
| vc-filewise.el | ||
| vc-git.el | ||
| vc-hg.el | ||
| vc-hooks.el | ||
| vc-rcs.el | ||
| vc-sccs.el | ||
| vc-src.el | ||
| vc-svn.el | ||
| vc.el | ||