From: Robert Pluim Date: Mon, 10 Oct 2022 10:45:45 +0000 (+0200) Subject: Fix `vc-prepare-patch' docstring X-Git-Tag: emacs-29.0.90~1616^2~671 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=e25bdd794629909020247ad6da13f9f0dab9a6e8;p=emacs.git Fix `vc-prepare-patch' docstring * lisp/vc/vc.el (vc-prepare-patch): Correct description of `vc-prepare-patches-separately'. --- 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: ")))