diff options
author | yoctocell <public@yoctocell.xyz> | 2021-01-03 19:56:49 +0100 |
---|---|---|
committer | yoctocell <public@yoctocell.xyz> | 2021-01-03 19:56:49 +0100 |
commit | c971b9e0bacb8816cfa26e036469f2b3aebafbe9 (patch) | |
tree | 7eea3d052d8f481d679ae1a3dc6a6d93c606390b /git-email.el | |
parent | 987f4e892aa091eb8a066d57ac3bb255d8725d84 (diff) |
Add variable for message function
Let the user choose what function to use for composing a message.
* git-email.el (git-email--compose-message-function): Init.
Diffstat (limited to 'git-email.el')
-rw-r--r-- | git-email.el | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/git-email.el b/git-email.el index c7fbb0d..6729f03 100644 --- a/git-email.el +++ b/git-email.el @@ -26,6 +26,15 @@ ;;; Code: +(defgroup git-email nil + "Work with git and email." + :group 'convenience) + +(defcustom git-email--compose-message-function 'message-mail + "The function used to compose patch mail." + :group 'git-email + :type 'symbol) + (defun git-email--extract-header (header patch-file) "Extract HEADER from PATCH-FILE." (with-temp-buffer |