1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-27 07:41:28 -08:00
emacs/lisp/vc
Lars Ingebrigtsen 8dacd8cd91 Add a new command vc-pull-and-push
* lisp/vc/vc-svn.el (vc-exec-after):
* lisp/vc/vc-hg.el (vc-exec-after):
* lisp/vc/vc-git.el (vc-exec-after):
* lisp/vc/vc-cvs.el (vc-exec-after):
* lisp/vc/vc-bzr.el (vc-exec-after):
* lisp/org/org-macro.el (vc-exec-after):
* lisp/obsolete/vc-mtn.el (vc-exec-after):
* lisp/obsolete/vc-arch.el (vc-exec-after): Update declaration.
* lisp/vc/vc-dispatcher.el (vc--process-sentinel): Allow running
code only on success.
(vc-exec-after): Ditto.
(vc--inhibit-change-window-start): New variable.
(vc-do-async-command): Use it to allow chaining commands without
moving window point.  Return the process instead of the buffer,
since the process may have exited already, and then we can't get
at the process.

* lisp/vc/vc-git.el (vc-git--pushpull): Return the process object.
(vc-git-pull-and-push): New function.

* lisp/vc/vc.el (vc-pull-and-push): New command (bug#51964).
2022-09-24 15:19:03 +02:00
..
add-log.el Merge from origin/emacs-28 2022-09-21 10:25:06 +02:00
compare-w.el
cvs-status.el
diff-mode.el ; Use US spelling docstring 2022-09-11 13:12:39 +02:00
diff.el
ediff-diff.el
ediff-help.el
ediff-hook.el
ediff-init.el Make XEmacs compat alias face-background-pixmap obsolete 2022-08-23 16:51:31 +02:00
ediff-merg.el
ediff-mult.el
ediff-ptch.el
ediff-util.el
ediff-vers.el
ediff-wind.el Delete many items obsolete since 24.3 2022-09-09 11:27:30 +02:00
ediff.el Merge from origin/emacs-28 2022-08-17 06:30:25 +02:00
emerge.el
log-edit.el 'C-c C-d' on vc-log buffer shows the diff from 'vc-log-fileset' (bug#52349) 2022-08-28 22:44:52 +03:00
log-view.el
pcvs-defs.el
pcvs-info.el
pcvs-parse.el
pcvs-util.el Delete many items obsolete since 24.3 2022-09-09 11:27:30 +02:00
pcvs.el
smerge-mode.el
vc-annotate.el
vc-bzr.el Add a new command vc-pull-and-push 2022-09-24 15:19:03 +02:00
vc-cvs.el Add a new command vc-pull-and-push 2022-09-24 15:19:03 +02:00
vc-dav.el
vc-dir.el Tweak binding of `+' in vc-dir 2022-09-24 15:19:03 +02:00
vc-dispatcher.el Add a new command vc-pull-and-push 2022-09-24 15:19:03 +02:00
vc-filewise.el
vc-git.el Add a new command vc-pull-and-push 2022-09-24 15:19:03 +02:00
vc-hg.el Add a new command vc-pull-and-push 2022-09-24 15:19:03 +02:00
vc-hooks.el 'C-x v b' prefix key is used for branch commands to create/switch/print branch 2022-09-12 21:07:05 +03:00
vc-rcs.el
vc-sccs.el
vc-src.el
vc-svn.el Add a new command vc-pull-and-push 2022-09-24 15:19:03 +02:00
vc.el Add a new command vc-pull-and-push 2022-09-24 15:19:03 +02:00