From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id DCBBE158064 for ; Sun, 5 May 2024 13:18:00 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8ECA72BC020; Sun, 5 May 2024 13:17:56 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 211DC2BC018 for ; Sun, 5 May 2024 13:17:56 +0000 (UTC) From: =?UTF-8?q?Ulrich=20M=C3=BCller?= To: gentoo-dev@lists.gentoo.org Cc: =?UTF-8?q?Ulrich=20M=C3=BCller?= Subject: [gentoo-dev] [PATCH 1/2] elisp-common.eclass: Add lexical-binding cookies to generated Lisp files Date: Sun, 5 May 2024 15:17:32 +0200 Message-ID: <20240505131743.32652-1-ulm@gentoo.org> X-Mailer: git-send-email 2.45.0 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Archives-Salt: c657f0f9-c2ac-4c95-afa8-e4066919f43e X-Archives-Hash: 063207913e06f82ee9085979f91180d5 This suppresses the warning spam in recent Emacs from Git. Signed-off-by: Ulrich Müller --- eclass/elisp-common.eclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eclass/elisp-common.eclass b/eclass/elisp-common.eclass index 3d99838a0221..dfc8168d6869 100644 --- a/eclass/elisp-common.eclass +++ b/eclass/elisp-common.eclass @@ -322,7 +322,7 @@ elisp-make-autoload-file() { ebegin "Generating autoload file for GNU Emacs" cat >"${f}" <<-EOF - ;;; ${f##*/} --- autoloads for ${PN} + ;;; ${f##*/} --- autoloads for ${PN} -*-lexical-binding:t-*- ;;; Commentary: ;; Automatically generated by elisp-common.eclass @@ -706,7 +706,7 @@ elisp-site-regen() { done cat <<-EOF >"${T}"/site-gentoo.el || ret=$? - ;;; site-gentoo.el --- site initialisation for Gentoo-installed packages + ;;; site-gentoo.el --- Gentoo site initialisation -*-lexical-binding:t-*- ;;; Commentary: ;; Automatically generated by elisp-common.eclass -- 2.45.0