Commit ce29ae32 authored by Eli Zaretskii's avatar Eli Zaretskii
Browse files

; * lisp/vc/vc-git.el (vc-git--out-str): Doc fix.

parent 70ac815e
Pipeline #28547 failed with stages
in 115 minutes and 28 seconds
......@@ -1781,7 +1781,7 @@ With prefix numeric argument ARG, do it that many times."
(interactive)
(save-excursion
(goto-char (pos-bol))
(when-let* ((re (rx bol "(" (group (+ (not (in " "))))))
(when-let* ((re (rx bol "(" (group (+ (not (in " )"))))))
(string
(and (or (looking-at re)
(re-search-backward re nil t))
......
......@@ -2240,7 +2240,7 @@ Return whether the process exited with status zero."
(zerop (apply #'vc-git--call '(t nil) command args)))
(defun vc-git--out-str (command &rest args)
"Run `git COMMAND ARGS...' and return standard output.
"Run `git COMMAND ARGS...' and return standard output as a string.
The exit status is ignored."
(with-output-to-string
(with-current-buffer standard-output
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment