diff options
author | yoctocell <public@yoctocell.xyz> | 2021-01-04 15:57:06 +0100 |
---|---|---|
committer | yoctocell <public@yoctocell.xyz> | 2021-01-04 15:57:06 +0100 |
commit | 07d2b4bdc97fe6c598bcfc7ab5d1b13c930812f3 (patch) | |
tree | f56e20f847580eecb2f346b150d6e6a452914c96 | |
parent | ac856e172da520a627ec2a83a8f66c0192ef2d6c (diff) |
Rename variable
Be more consistent with the other variables.
git-email-compose-message-function => git-email-compose-email-function
* git-email.el:
-rw-r--r-- | git-email.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/git-email.el b/git-email.el index d561b88..f587070 100644 --- a/git-email.el +++ b/git-email.el @@ -47,7 +47,7 @@ "Work with git and email." :group 'convenience) -(defcustom git-email-compose-message-function 'message-mail +(defcustom git-email-compose-email-function 'message-mail "The function used to compose patch mail." :group 'git-email :type 'symbol) @@ -203,7 +203,7 @@ them into the message buffer." "to" (substring sendemail-to 13 -1))) ; Remove newline (diff (git-email--extract-diff patch-file))) - (funcall git-email-compose-message-function to (cadr (assoc "subject" used-headers)) + (funcall git-email-compose-email-function to (cadr (assoc "subject" used-headers)) used-headers) ;; (let ((body (or (re-search-forward "<#part .*>") ;; (re-search-forward "--text follows this line--")))) |