From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:203:b4db::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms12 with LMTPS id YBJwHZRDy2EPewAAsNZ9tg (envelope-from ); Tue, 28 Dec 2021 17:04:20 +0000 Received: from out2.migadu.com ([2001:41d0:2:aacc::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id CHG1HJRDy2ELRgEA9RJhRA (envelope-from ); Tue, 28 Dec 2021 18:04:20 +0100 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kyleam.com; s=key1; t=1640711060; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=sbTLIGJiLRYQqXA/0X9V5ppOUdVP/Wu7GzqByXkbIMg=; b=i1pjYNCvmhi8W2P0qajFDoIt3mwWvYbtCTJQq1xB73EKQIxpmU6iuoL7rEQd03UD0sj36e ZFzhYxhO+8KL7VRb3UxXq9Q6acGHLB5y2Vk/bKyY2HttKbce0Gd0KAV4bA6+JvbQE7Gi0B YvKoYgjyflrTwAf4gHWs4ckOdl320jofp4LSP3vGhrVhdMKY2N2WrxL6Fpf1OFZZ/8+Pu8 98ywrpXUuoV3qNjjyhCNkz6Wsz/CK4iDBnEEyPVLlqX9NB+qmKOvlbXWGf+7Ox4uxPMGOa WDyv/h0n100K3r+FdT2HQZGbRmN7ydn6yjautXF6hzy4rkJaD+TpztVedH7KDg== From: Kyle Meyer To: piem@inbox.kyleam.com Cc: Leo Subject: [PATCH] piem-edit-patch-am: Relay piem-am-ready-mbox's format Date: Tue, 28 Dec 2021 12:04:17 -0500 Message-Id: <20211228170417.216825-1-kyle@kyleam.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: kyleam.com X-TUID: mwxJfKYIMdov 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 --- piem.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/piem.el b/piem.el index b06719b2..b839942e 100644 --- a/piem.el +++ b/piem.el @@ -1006,7 +1006,7 @@ (defun piem-edit-patch-am () (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))) base-commit: 2b08667d9165da5381e6044b1ffa0bea90241110 -- 2.34.0