diff options
-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 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) |