From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id cGHEALq6N2YssAAAqHPOHw:P1 (envelope-from ) for ; Sun, 05 May 2024 18:58:34 +0200 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id cGHEALq6N2YssAAAqHPOHw (envelope-from ) for ; Sun, 05 May 2024 18:58:34 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b=RhfPYneF; dmarc=pass (policy=none) header.from=gnu.org; 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1714928313; a=rsa-sha256; cv=none; b=Kn5mUdYeBI6kgTrDNerS9Tf/dT7QUAUVkQuu8kbGO6I1GKUoYk2UsfewmQklHN9SrND6j/ CzBrgqfKJRGmEb32V1B76ji4AgvmJwIvIyf/AgdYX4m2mCUan1kAVEZ6fhDstysqcRAqpP GJp9UPxuSFI3nCN3ilU3GGhtyii3P1qgX5sGRVkvpDBYetTtalZ2+RqHdYBjbYV/1GN9tv w4eiX1ZCU8I4x08zp3IZOMgtnO5ReUPQ0OM+/u3SiUfDmKG3JjMq9c57unGXLJlbszE+jV 69is4ZhORz83mgSy5hKIKWh4IAWzIcw0hsNRUY8PWruVNlw1wyjxRmVPRat4yA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b=RhfPYneF; dmarc=pass (policy=none) header.from=gnu.org; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1714928313; 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=DSO0lFEvx4nQ7+LGoJ5HILGsAtY89nQWrAqRXCvtGa4=; b=Fphyne71Gkq0UoIyzM1kiVQgzRJjMzSzmtJiiB3fLPePhrcJwzByWGbLZy0ppkEuRdMNar P9qnyj/Jj0Gz7Hmr0piDaTlixM0jvRGgm4YCn2um+q1FdojMOqbL5/xkGoaFnXqI1xIKaQ FlF9hedIKxC/M7bmQD6fYg07cY2qt5DLlyo83L9COVyIfT4mCo2YVArONEV652gEYeSJNF 7qSLkNdtLytd+gli3EVD9BRZ44hw9giuHEjhapYAcGV7dkslHMhcZXzBpBXUgKUioWPTfM YAHgpdH69feDp+sfCx0QaUhN3vm5e9mGGTx4PtSTvJa6NSAxntVxx0BH7jor3g== 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 D96AE21BE2 for ; Sun, 5 May 2024 18:58:33 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s3fBo-0005vc-P5; Sun, 05 May 2024 12:58:16 -0400 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 1s3fBm-0005uX-HE for emacs-orgmode@gnu.org; Sun, 05 May 2024 12:58:14 -0400 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 1s3fBm-0007KF-9D for emacs-orgmode@gnu.org; Sun, 05 May 2024 12:58:14 -0400 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=DSO0lFEvx4nQ7+LGoJ5HILGsAtY89nQWrAqRXCvtGa4=; b=RhfPYneFs4nUaz lORUXw88OvqicNQUrAhI7UH2hL5hzma2glxGMhDqhidaoWNoVu/Eam/6rZVbXPKuwvXMLs57gf3U9 dkTl+3HMeuvRroPDrSGfx/e4bhQyNH/XNk3i6NfEzFDk4RrZEMSKduSNVvKqYw9z0DJkwVBNSnJ4+ iDnvTG8tc19NaetfZzthlu5WKHrfoSaBJlzcJeiZZOc02w5REuoyGVN/T47Bk/cj3vNDXkehbNzbB tGy1XhdBuBVvMqiu+k/Vk2E12kca6mnvioHiu3EEdlAXD6e08Igupws2ECKDhN3pvlj1AlwZSP2tz iumfPl58hC8Lb3eJuruQ==; From: Bastien To: emacs-orgmode@gnu.org Subject: [PATCH] Silence a warning in org-table.el Organization: GNU Date: Sun, 05 May 2024 18:56:16 +0200 Message-ID: <87o79kw633.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" 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 X-Migadu-Queue-Id: D96AE21BE2 X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -10.92 X-Spam-Score: -10.92 X-TUID: fum7L1+jobsj --=-=-= Content-Type: text/plain The attached patch silences a warning. This seems trivial, if nobody bites I'll apply this tomorrow. Thanks! -- Bastien --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=org-table.el.patch diff --git a/lisp/org-table.el b/lisp/org-table.el index 0c2dc27ed..3d40a02a1 100644 --- a/lisp/org-table.el +++ b/lisp/org-table.el @@ -2887,7 +2887,7 @@ list, `literal' is for the format specifier L." (if lispp (if (eq lispp 'literal) elements - (if (and (eq elements "") (not keep-empty)) + (if (and (string= elements "") (not keep-empty)) ;; FIXME: This branch of `if' is never used because ;; strings are never `eq' here. But changing to ;; `equal' breaks tests. --=-=-=--