summaryrefslogtreecommitdiff
path: root/lisp/vc/vc.el
diff options
context:
space:
mode:
authorRobert Pluim <rpluim@gmail.com>2022-10-10 12:45:45 +0200
committerRobert Pluim <rpluim@gmail.com>2022-10-10 12:45:45 +0200
commite25bdd794629909020247ad6da13f9f0dab9a6e8 (patch)
treee55b7f5072f34b2066be17110fb0badd97bcbc1f /lisp/vc/vc.el
parentb7802190fe3735704bba72b5c3030f67d9c1d3da (diff)
downloademacs-e25bdd794629909020247ad6da13f9f0dab9a6e8.tar.gz
Fix `vc-prepare-patch' docstring
* lisp/vc/vc.el (vc-prepare-patch): Correct description of `vc-prepare-patches-separately'.
Diffstat (limited to 'lisp/vc/vc.el')
-rw-r--r--lisp/vc/vc.el10
1 files 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: ")))