aboutsummaryrefslogtreecommitdiff
path: root/git-email.el
diff options
context:
space:
mode:
authoryoctocell <public@yoctocell.xyz>2021-01-06 18:31:22 +0100
committeryoctocell <public@yoctocell.xyz>2021-01-06 18:31:22 +0100
commit0728fa000256e87847413be93ea6e9d2a24d888d (patch)
tree0e7f4ee8de23f2468c8dfea9eaa383407cf83a69 /git-email.el
parentcbdb5ef8fe1cbf39884d5b0250a724830c861a70 (diff)
Rename function
git-email--get-filename => git-email--get-files * git-email.el (git-email--get-filenames): (git-email-send-email):
Diffstat (limited to 'git-email.el')
-rw-r--r--git-email.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/git-email.el b/git-email.el
index 65e6c6c..11901bc 100644
--- a/git-email.el
+++ b/git-email.el
@@ -207,7 +207,7 @@ If no marks are found, return the filename at point."
(list (car (find-file-read-args "Find patch: "
(confirm-nonexistent-file-or-buffer)))))
-(defun git-email--get-filenames ()
+(defun git-email--get-files ()
"Return list of filenames for marked files in `vc-dir'.
If no marks are found, return the filename at point."
(let ((files (or (seq-some (lambda (fn)
@@ -267,7 +267,7 @@ If no marks are found, return the filename at point."
(defun git-email-send-email ()
"Send patch(es) to someone."
(interactive)
- (let ((files (git-email--get-filenames)))
+ (let ((files (git-email--get-files)))
(dolist (file files)
(run-hooks 'git-email-pre-compose-email-hook)
(git-email--compose-email file)