From 03e4ce2eeaf5c59def2bfdf64065920562c53f72 Mon Sep 17 00:00:00 2001 From: Sean Whitton Date: Thu, 3 Jul 2025 20:10:42 +0100 Subject: [PATCH] ; * lisp/vc/vc-hg.el (vc-hg-command): Improve docstring. (cherry picked from commit f1fe815b43c87b147e3e6cc5cd600cd66cc65b7f) --- lisp/vc/vc-hg.el | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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) -- 2.39.5