summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2024-05-05 15:10:45 +0200
committerUlrich Müller <ulm@gentoo.org>2024-05-06 19:28:06 +0200
commitb935d9a5dabe2facdf27d7715d5b72cf5dad561d (patch)
tree9b934e9ac1a2125f3e1af10058f0fa9f4e025e20 /eclass/elisp-common.eclass
parentRevert "elisp-common.eclass: Set no-native-compile in generated files" (diff)
downloadgentoo-b935d9a5dabe2facdf27d7715d5b72cf5dad561d.tar.gz
gentoo-b935d9a5dabe2facdf27d7715d5b72cf5dad561d.tar.bz2
gentoo-b935d9a5dabe2facdf27d7715d5b72cf5dad561d.zip
elisp-common.eclass: Add lexical-binding cookies to generated Lisp files
This suppresses the warning spam in recent Emacs from Git. Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Diffstat (limited to 'eclass/elisp-common.eclass')
-rw-r--r--eclass/elisp-common.eclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/elisp-common.eclass b/eclass/elisp-common.eclass
index 8b4c1be99bb7..ad9d3c7e60c6 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
@@ -705,7 +705,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