1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-04-22 05:51:11 -07:00
emacs/lisp/vc
Sean Whitton 101f3cf5b9 Add support for user edits to VC command arguments
* lisp/vc/vc-dispatcher.el (vc-pre-command-functions): New hook.
(vc-want-edit-command-p): New variable.
(vc-do-command): If vc-want-edit-command-p is non-nil, prompt the user
to edit the VC command & arguments before execution.  Run the new hook.
(vc-do-async-command): Use the new hook to insert into BUFFER the
command that's next to be run.
* lisp/vc/vc-git.el (vc-git--pushpull): Drop prompting code.  Bind
vc-want-edit-command-p so that vc-do-command handles the prompting.
Use the new hook to update compile-command with the edited command.
* lisp/vc/vc.el (vc-print-branch-log): A non-nil prefix argument now
means vc-want-edit-command-p is bound to a non-nil value (bug#57807).
2022-09-21 12:31:05 -07: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 Prefer defvar-keymap in vc/*.el 2022-08-10 11:53:27 +02:00
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 * lisp/vc/emerge.el (emerge-show-file-name): Make obsolete. 2022-08-11 13:11:50 +02:00
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 Prefer defvar-keymap in vc/*.el 2022-08-10 11:53:27 +02:00
vc-bzr.el Prefer defvar-keymap in vc/*.el 2022-08-10 11:53:27 +02:00
vc-cvs.el
vc-dav.el
vc-dir.el Document the recently added branch commands (bug#50344) 2022-09-12 22:12:50 +03:00
vc-dispatcher.el Add support for user edits to VC command arguments 2022-09-21 12:31:05 -07:00
vc-filewise.el
vc-git.el Add support for user edits to VC command arguments 2022-09-21 12:31:05 -07:00
vc-hg.el Make point-at-eol and point-at-bol obsolete 2022-08-23 04:54:57 +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 Fix some recently introduced byte-compiler warnings 2022-08-17 12:52:56 +02:00
vc.el Add support for user edits to VC command arguments 2022-09-21 12:31:05 -07:00