mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 18:40:39 -08:00
Remove assumption about what nil means as a first arument to vc-do-command.
This commit is contained in:
parent
b3fccc2715
commit
2888a97eb5
12 changed files with 65 additions and 50 deletions
|
|
@ -551,7 +551,7 @@ REV is the revision to check out into WORKFILE."
|
|||
"A wrapper around `vc-do-command' for use in vc-hg.el.
|
||||
The difference to vc-do-command is that this function always invokes `hg',
|
||||
and that it passes `vc-hg-global-switches' to it before FLAGS."
|
||||
(apply 'vc-do-command buffer okstatus "hg" file-or-list
|
||||
(apply 'vc-do-command (or buffer "*vc*") okstatus "hg" file-or-list
|
||||
(if (stringp vc-hg-global-switches)
|
||||
(cons vc-hg-global-switches flags)
|
||||
(append vc-hg-global-switches
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue