From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id KPtGGEm10GNT5gAAbAwnHQ (envelope-from ) for ; Wed, 25 Jan 2023 05:51:21 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id MHdAGEm10GMHJwAA9RJhRA (envelope-from ) for ; Wed, 25 Jan 2023 05:51:21 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (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 3806BFAFD for ; Wed, 25 Jan 2023 05:51:21 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pKXjf-0001QD-Po; Tue, 24 Jan 2023 23:50:11 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pKFch-0002dK-8A for emacs-orgmode@gnu.org; Tue, 24 Jan 2023 04:29:47 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pKFcg-0000q3-V0 for emacs-orgmode@gnu.org; Tue, 24 Jan 2023 04:29:46 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:Subject:To:From:in-reply-to: references; bh=rjyzu/zHCcKq12S5BjFFF0r9Lyk6B6dcJvIYhBwmpGg=; b=RKWIUS9qrK2SDm 383Q7mJfrzKURotPofPe/KUBL9oq7hpPKKIFRmIElJiuXuekNQNR0aNVi2r1qb1Uned17Ltjn9kIP ExE3YAFyzcsyy1XKGenC79tUQGS7McH+T2ckj8fxeNgN7aH8LC4hj89mPyBnnhn/f/uV/Xbr/z6x9 iK18jKwG+vVaAtay3qyhQjRDSCjY2G/yoAuM3xmkhFZGL9dkBuTc3yhllAWj7hjiFRliPdNKgj77Y CNmvYolfY/9Or+1E2lqVPazUOzkCKUHUYsz4o218EaRcBR1o2I0ZNGpsAehgdbaJRV6qC47vxDDc0 37/4VjslLM5edUimDD7w==; Received: from pd9fb7ab6.dip0.t-ipconnect.de ([217.251.122.182] helo=MUTANT) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pKFcg-0005aw-HF for emacs-orgmode@gnu.org; Tue, 24 Jan 2023 04:29:46 -0500 From: Arash Esbati To: emacs-orgmode@gnu.org Subject: [PATCH] Fix one remaining emacs-30 byte-compile warning Date: Tue, 24 Jan 2023 10:29:17 +0100 Message-ID: <86h6wgmgb6.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/30.0.50 MIME-Version: 1.0 Content-Type: text/plain X-Mailman-Approved-At: Tue, 24 Jan 2023 23:50:09 -0500 X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1674622281; a=rsa-sha256; cv=none; b=WztjG/JKknaL/+aDbOljxDq0EcNvpBOWFMnzdibTCEPjvz2SNupOYQ3TaxbW3BIwfpgHI8 6yUrd6IDPkpL522RmtNol9QzOfUq//jBNsbTIzGOgC/CJEGK26Zd4KJ6LaHuC6nSnHTc0e Z0+99aqnZSIoPTS+poNfRayQUJyQkdZaODiYCgdT8qgygaBlyDMMi9osHn4JGpeSgyXRXh aGJEcL26uU79GDB7O8vnbcDDbogE6Woq7Ye0yIKK/7VEgz2YeyXArWMovrpg7sQbMalCiT Y0d/ugDFV1SzoNEzn5Hw+sJD7sOSWf6uw/KykQH0cre51QtN6kh5AuuYHjcL3Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1674622281; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=rjyzu/zHCcKq12S5BjFFF0r9Lyk6B6dcJvIYhBwmpGg=; b=Kf/8w53yn1vjxmApIb3x3oNtpXfdx8ks206IN3eopzNulBoiH9MRtGuFrtXKKC16M9kans LhukVwXvR6VxvShbaDooCMMM2TXCNA+FZLqlgjz3qt01FslA3IzK+HGFXh+6Ax2J8WbP77 ZwGsQzaTaj7IVoYvKX4mYyWbka3FZbjF4Jfesrq2SuE3nUawcWWfvd4VgMfei8qo2Q4MOE 8qHthFzXRO8I7Uu+CmQ7xuTh9WgBj4W86ETOwIqSWKslN4iJcg1q3UDIldB9YClXRGZfAX GciLnwgdGAf7BrRSBQYnWTPBmjNpVJoS4YSYkI5DjLzSL5BP+M/E/8Qj5Ti3Uw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b=RKWIUS9q; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org X-Migadu-Scanner: scn0.migadu.com X-Migadu-Spam-Score: -7.34 X-Spam-Score: -7.34 X-Migadu-Queue-Id: 3806BFAFD Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b=RKWIUS9q; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org X-TUID: JAPIt77BlDKA Hi all, Robert sent a patch[1] which pacifies emacs-30 compiler warning. He missed one which is fixed by the patch below. It is against org-mode master (6b15897a56). Footnotes: [1] https://lists.gnu.org/archive/html/emacs-orgmode/2023-01/msg00743.html Best, Arash --8<---------------cut here---------------start------------->8--- diff --git a/lisp/ox.el b/lisp/ox.el index ebf89bb..4c84686 100644 --- a/lisp/ox.el +++ b/lisp/ox.el @@ -6683,14 +6683,14 @@ see. Optional argument POST-PROCESS is a function which should accept no argument. It is always called within the current process, from BUFFER, with point at its beginning. Export back-ends can -use it to set a major mode there, e.g, +use it to set a major mode there, e.g., (defun org-latex-export-as-latex (&optional async subtreep visible-only body-only ext-plist) (interactive) (org-export-to-buffer \\='latex \"*Org LATEX Export*\" async subtreep visible-only body-only ext-plist - #'LaTeX-mode)) + #\\='LaTeX-mode)) When expressed as an anonymous function, using `lambda', POST-PROCESS needs to be quoted. --8<---------------cut here---------------end--------------->8---