aboutsummaryrefslogtreecommitdiff
path: root/doc/git-email.texi
diff options
context:
space:
mode:
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 f290878..09db2b1 100644
--- a/doc/git-email.texi
+++ b/doc/git-email.texi
@@ -304,6 +304,15 @@ trailing @samp{/}.
names are generated. See the documentation for
@code{message-generate-new-buffers} for more information.
+@vindex git-email-buffer-p-function
+@item
+If you have changed the default value of
+@code{git-email-generate-message-buffer}, you probably also want to
+change the value of @code{git-email-buffer-p-function}. It should be a
+function that takes one argument---the name of a buffer, and returns
+@code{t} if the buffer contains an unsent patch generated using
+@samp{git-email}.
+
By default the name will have the following format @samp{git-email
unsent patch to *** TO ADDRESS HERE *** *}.
@end itemize