diff options
author | Kyle Meyer <kyle@kyleam.com> | 2021-12-28 12:04:17 -0500 |
---|---|---|
committer | Kyle Meyer <kyle@kyleam.com> | 2021-12-28 18:12:51 -0500 |
commit | 010ab95f59d8a4fcdd6fa26db3c1e567ab1ccacc (patch) | |
tree | dafcb078514cb93d3ca077c91a641389898f2171 | |
parent | d7d15a74c933e9a108c47f0515fc7a1b6d3199d6 (diff) | |
download | piem-010ab95f59d8a4fcdd6fa26db3c1e567ab1ccacc.tar.gz |
piem-edit-patch-am: Relay piem-am-ready-mbox's format
piem-edit stores the format returned by piem-am-ready-mbox in a
buffer-local variable, piem-edit-patch--format. However,
piem-edit-patch-am doesn't use this value when it calls piem-am,
instead passing a hard-coded "mbox".
Pass piem-edit-patch--format so that git-am is called with the
appropriate format.
Cc: Leo <sourcehut@relevant-information.com>
Message-Id: <20211228170417.216825-1-kyle@kyleam.com>
-rw-r--r-- | piem.el | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1006,7 +1006,7 @@ this triggers the creation of a new worktree." (interactive) (let ((buf (current-buffer))) (piem-am buf - "mbox" + piem-edit-patch--format (piem-extract-mbox-info (current-buffer)) piem-edit-patch--coderepo) (kill-buffer buf))) |