From e25bdd794629909020247ad6da13f9f0dab9a6e8 Mon Sep 17 00:00:00 2001 From: Robert Pluim Date: Mon, 10 Oct 2022 12:45:45 +0200 Subject: [PATCH] Fix `vc-prepare-patch' docstring * lisp/vc/vc.el (vc-prepare-patch): Correct description of `vc-prepare-patches-separately'. --- lisp/vc/vc.el | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/lisp/vc/vc.el b/lisp/vc/vc.el index ba3a4c58cf1..60481318e3b 100644 --- a/lisp/vc/vc.el +++ b/lisp/vc/vc.el @@ -3332,12 +3332,14 @@ If nil, no default will be used. This option may be set locally." ;;;###autoload (defun vc-prepare-patch (addressee subject revisions) "Compose an Email sending patches for REVISIONS to ADDRESSEE. -If `vc-prepare-patches-separately' is non-nil, SUBJECT will be used -as the default subject for the message. Otherwise a separate -message will be composed for each revision. +If `vc-prepare-patches-separately' is nil, SUBJECT will be used +as the default subject for the message (and it will be prompted +for when called interactively). Otherwise a separate message +will be composed for each revision, with SUBJECT derived from the +invidividual commits. When invoked interactively in a Log View buffer with marked -revisions, these revisions will be used." +revisions, those revisions will be used." (interactive (let ((revs (or (log-view-get-marked) (vc-read-multiple-revisions "Revisions: "))) -- 2.39.5