From: "Ulrich Müller" <ulm@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Cc: "Ulrich Müller" <ulm@gentoo.org>
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 [thread overview]
Message-ID: <20240505131743.32652-1-ulm@gentoo.org> (raw)
This suppresses the warning spam in recent Emacs from Git.
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
---
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
next reply other threads:[~2024-05-05 13:18 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-05 13:17 Ulrich Müller [this message]
2024-05-05 13:17 ` [gentoo-dev] [PATCH 2/2] Revert "elisp-common.eclass: Set no-native-compile in generated files" Ulrich Müller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240505131743.32652-1-ulm@gentoo.org \
--to=ulm@gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox