aboutsummaryrefslogtreecommitdiff
path: root/doc/git-email.texi
diff options
context:
space:
mode:
authorXinglu Chen <public@yoctocell.xyz>2021-06-21 14:57:22 +0200
committerXinglu Chen <public@yoctocell.xyz>2021-06-21 15:13:52 +0200
commit1b2f4219e9375642491d490ce0c421f8ec966524 (patch)
treea28767148ea437b21e3d6cbf7b46ed23e6e9f740 /doc/git-email.texi
parente6a8567b4354aa585540cf8577b68d081cd52b16 (diff)
git-email: Make it possible to customize message buffer names.
* git-email.el (git-email-generate-message-buffer): New defcustom. (git-email-generate-message-buffer-name): New function (git-email--send-files): Likewise. (git-email-format-patch): Refactor to use ‘git-email--send-files’. (git-email-send-email): Likewise. * doc/git-email.texi (Miscellaneous): Document it. Signed-off-by: Xinglu Chen <public@yoctocell.xyz>
Diffstat (limited to 'doc/git-email.texi')
-rw-r--r--doc/git-email.texi9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/git-email.texi b/doc/git-email.texi
index cd4ebfd..632e29e 100644
--- a/doc/git-email.texi
+++ b/doc/git-email.texi
@@ -325,6 +325,15 @@ revision of under point if you are in a VC log buffer.
@samp{git-email-get-current-project-functions} is a hook that is executed
to get the path of the current project. The path must include a
trailing @samp{/}.
+
+@vindex git-email-generate-message-buffer
+@item
+@code{git-email-generate-message-buffer} controls how message buffer
+names are generated. See the documentation for
+@code{message-generate-new-buffers} for more information.
+
+By default the name will have the following format @samp{git-email
+unsent patch to *** TO ADDRESS HERE *** *}.
@end itemize
@node Integration with other packages