aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--git-email.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/git-email.el b/git-email.el
index 2aa24fc..9bbad13 100644
--- a/git-email.el
+++ b/git-email.el
@@ -229,8 +229,7 @@ If the header is not found, return an empty string."
"Given a PATCH-FILE, compose an email.
Extracts the relevant headers and the diff from the PATCH-FILE and inserts
them into the message buffer."
- (let* ((default-directory (cdr (project-current)))
- (headers (git-email--extract-headers patch-file))
+ (let* ((headers (git-email--extract-headers patch-file))
;; Remove empty headers.
(used-headers (seq-filter
(lambda (header)