diff --git a/lisp/vc/vc-hg.el b/lisp/vc/vc-hg.el index d7f25fe6a39..e5a7c10ed96 100644 --- a/lisp/vc/vc-hg.el +++ b/lisp/vc/vc-hg.el @@ -1641,8 +1641,10 @@ This runs the command \"hg merge\"." (defun vc-hg-command (buffer okstatus file-or-list &rest flags) "A wrapper around `vc-do-command' for use in vc-hg.el. -This function differs from `vc-do-command' in that it invokes -`vc-hg-program', and passes `vc-hg-global-switches' to it before FLAGS." +This function differs from `vc-do-command' in that +- BUFFER may be nil +- it invokes `vc-hg-program' and passes `vc-hg-global-switches' to it + before FLAGS." (vc-hg--command-1 #'vc-do-command (list (or buffer "*vc*") okstatus vc-hg-program file-or-list)