aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorSean Whitton2025-04-05 10:58:35 +0800
committerSean Whitton2025-05-09 10:52:06 +0100
commit8e02537d0be3cfdeaaf7764e2ef2db8b66de542a (patch)
tree8c01f49798e56296a2780eb56ef79bbd3703a7a8 /etc
parent3739b86f5af654ec0ae3e47a3662e19ea79d2b3c (diff)
downloademacs-8e02537d0be3cfdeaaf7764e2ef2db8b66de542a.tar.gz
emacs-8e02537d0be3cfdeaaf7764e2ef2db8b66de542a.zip
New vc-async-checkin user option
* lisp/vc/vc.el (vc-async-checkin): New option. (vc-checkin): Don't use with-vc-properties on or display messages around asynchronous checkins. * lisp/vc/vc-git.el (vc-git-checkin): * lisp/vc/vc-hg.el (vc-hg-checkin, vc-hg-checkin-patch): Perform an async checkin operation when vc-async-checkin is non-nil. * doc/emacs/vc1-xtra.texi (General VC Options): * etc/NEWS: Document the new option. * lisp/vc/vc-dispatcher.el (vc-wait-for-process-before-save): New function. (vc-set-async-update): If the current buffer visits a file, call vc-refresh-state. * lisp/vc/vc-hg.el (vc-wait-for-process-before-save): Autoload. (vc-hg--async-command, vc-hg--async-buffer, vc-hg--command-1): New utilities, partially factored out of vc-hg-command. (vc-hg-merge-branch): Use vc-hg--async-command, thereby newly respecting vc-hg-global-switches.
Diffstat (limited to 'etc')
-rw-r--r--etc/NEWS4
1 files changed, 4 insertions, 0 deletions
diff --git a/etc/NEWS b/etc/NEWS
index d1b0189da0c..5c2a004164c 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -1752,6 +1752,10 @@ were added, removed or edited, Emacs would refuse to proceed.
1752Now Emacs prompts to first register the unregistered files, so that all 1752Now Emacs prompts to first register the unregistered files, so that all
1753files in the fileset are in a compatible state for a checkin. 1753files in the fileset are in a compatible state for a checkin.
1754 1754
1755+++
1756*** New user option 'vc-async-checkin' to enable async checkin operations.
1757Currently only supported by the Git and Mercurial backends.
1758
1755--- 1759---
1756*** New 'log-edit-hook' option to display diff of changes to commit. 1760*** New 'log-edit-hook' option to display diff of changes to commit.
1757You can customize 'log-edit-hook' to include its new 1761You can customize 'log-edit-hook' to include its new