From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms12 with LMTPS id qInlM4XeOV+XDwAAsNZ9tg (envelope-from ) for ; Mon, 17 Aug 2020 01:33:57 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id EKawL4XeOV+BFgAA1q6Kng (envelope-from ) for ; Mon, 17 Aug 2020 01:33:57 +0000 Received: from pb-smtp1.pobox.com (pb-smtp1.pobox.com [64.147.108.70]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 96AC19403C5 for ; Mon, 17 Aug 2020 01:33:57 +0000 (UTC) Received: from pb-smtp1.pobox.com (unknown [127.0.0.1]) by pb-smtp1.pobox.com (Postfix) with ESMTP id A3A94683DE; Sun, 16 Aug 2020 21:33:56 -0400 (EDT) (envelope-from kyle@kyleam.com) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to :subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; s=sasl; bh=H8RC46JBWtldV8MO3yUqwa2QE hk=; b=IEUo7CDt5tNeHsYZyFGSYZIwRU2Cybxfyj4x9+cSbfGfxa33oOmCaG/iB fM17EzA4VHQNBDljIFjU3bgnXAyc0XmQBqOdrKrcZxIFhsrD3/2HCTH83vRo/mtC 2IBxtKblNtZh++bsliTuivgbIXPqdthSFWCO9U698l6P5JJB5U= Received: from pb-smtp1.nyi.icgroup.com (unknown [127.0.0.1]) by pb-smtp1.pobox.com (Postfix) with ESMTP id 9BAEC683DC; Sun, 16 Aug 2020 21:33:56 -0400 (EDT) (envelope-from kyle@kyleam.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=kyleam.com; h=from:to:subject:date:message-id:in-reply-to:references:mime-version:content-transfer-encoding; s=mesmtp; bh=vzD2TIgajV/XWjWld8lwWVA+/99ogkrtfojCvzh8MB0=; b=UCoqUxmnjRGbGhIpOq/D8XDLwcsJNlfPAbyZUBybpMDbCRxCNmwXsIGnrjCQw1ZD0qdIatFLu690vF2ggESvRQFUVZNtRvKp2a6JI51WKH83KYNdrTcXEcq7Ly5upVCVLmztZqA4vSeb1VFzdn0aGFn2oQpjrKLjxMbsko/ZwGk= Received: from localhost (unknown [45.33.91.115]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pb-smtp1.pobox.com (Postfix) with ESMTPSA id 1D128683DB; Sun, 16 Aug 2020 21:33:56 -0400 (EDT) (envelope-from kyle@kyleam.com) From: Kyle Meyer To: piem@inbox.kyleam.com Subject: [PATCH 4/5] b4: Use a clearer variable name Date: Sun, 16 Aug 2020 21:33:42 -0400 Message-Id: <20200817013343.15615-5-kyle@kyleam.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20200817013343.15615-1-kyle@kyleam.com> References: <20200817013343.15615-1-kyle@kyleam.com> MIME-Version: 1.0 X-Pobox-Relay-ID: B7463158-E029-11EA-B913-01D9BED8090B-24757444!pb-smtp1.pobox.com Content-Transfer-Encoding: quoted-printable X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=pobox.com header.s=sasl header.b=IEUo7CDt; dkim=fail (body hash did not verify) header.d=kyleam.com header.s=mesmtp header.b=UCoqUxmn; dmarc=none; spf=pass (aspmx1.migadu.com: domain of kyle@kyleam.com designates 64.147.108.70 as permitted sender) smtp.mailfrom=kyle@kyleam.com X-Spam-Score: 2.50 X-TUID: lE6xjCr2sk5p --- piem-b4.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/piem-b4.el b/piem-b4.el index 3381b01..537abed 100644 --- a/piem-b4.el +++ b/piem-b4.el @@ -56,17 +56,17 @@ (defun piem-b4--get-am-files (mid coderepo args) (make-temp-file "piem-b4-" t))) (root (concat outdir "m")) (mbox-thread (concat root "-piem")) - (custom-p nil)) + (local-mbox-p nil)) (when-let ((fn (run-hook-with-args-until-success 'piem-mid-to-thread-functions mid))) (with-temp-file mbox-thread (funcall fn) (unless (=3D (point-max) 1) - (setq custom-p t)))) + (setq local-mbox-p t)))) ;; Move to the coderepo so that we pick up any b4 configuration ;; from there. (apply #'piem-process-call coderepo piem-b4-b4-executable "am" - (and custom-p + (and local-mbox-p (concat "--use-local-mbox=3D" mbox-thread)) (concat "--outdir=3D" outdir) (concat "--mbox-name=3Dm") --=20 2.28.0