branch: elpa/magit commit 75988adc0a1387216d96f4d20a7bc4815bd9cbe5 Author: Jonas Bernoulli <jo...@bernoul.li> Commit: Jonas Bernoulli <jo...@bernoul.li>
magit-process-match-prompt: Tweak docstring --- lisp/magit-process.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/magit-process.el b/lisp/magit-process.el index e724bbd9b0b..848ab2a7b4e 100644 --- a/lisp/magit-process.el +++ b/lisp/magit-process.el @@ -990,7 +990,7 @@ from the user." (defun magit-process-match-prompt (prompts string) "Match STRING against PROMPTS and set match data. -Return the matched string suffixed with \": \", if needed." +Return the matched string, appending \": \" if needed." (when (--any-p (string-match it string) prompts) (let ((prompt (match-string 0 string))) (cond ((string-suffix-p ": " prompt) prompt)