From 1b2f4219e9375642491d490ce0c421f8ec966524 Mon Sep 17 00:00:00 2001 From: Xinglu Chen Date: Mon, 21 Jun 2021 14:57:22 +0200 Subject: git-email: Make it possible to customize message buffer names. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 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 --- doc/git-email.texi | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'doc/git-email.texi') 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 -- cgit v1.2.3