aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSean Whitton2025-07-03 20:10:42 +0100
committerSean Whitton2025-07-03 20:53:24 +0100
commitf1fe815b43c87b147e3e6cc5cd600cd66cc65b7f (patch)
treefbce1dcb53a942a166da65506fffeba5b9dab572
parent37a9a9495e795f225b1736c56e37c3965de6c58c (diff)
downloademacs-f1fe815b43c87b147e3e6cc5cd600cd66cc65b7f.tar.gz
emacs-f1fe815b43c87b147e3e6cc5cd600cd66cc65b7f.zip
; * lisp/vc/vc-hg.el (vc-hg-command): Improve docstring.
-rw-r--r--lisp/vc/vc-hg.el6
1 files 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\"."
1641 1641
1642(defun vc-hg-command (buffer okstatus file-or-list &rest flags) 1642(defun vc-hg-command (buffer okstatus file-or-list &rest flags)
1643 "A wrapper around `vc-do-command' for use in vc-hg.el. 1643 "A wrapper around `vc-do-command' for use in vc-hg.el.
1644This function differs from `vc-do-command' in that it invokes 1644This function differs from `vc-do-command' in that
1645`vc-hg-program', and passes `vc-hg-global-switches' to it before FLAGS." 1645- BUFFER may be nil
1646- it invokes `vc-hg-program' and passes `vc-hg-global-switches' to it
1647 before FLAGS."
1646 (vc-hg--command-1 #'vc-do-command 1648 (vc-hg--command-1 #'vc-do-command
1647 (list (or buffer "*vc*") 1649 (list (or buffer "*vc*")
1648 okstatus vc-hg-program file-or-list) 1650 okstatus vc-hg-program file-or-list)