mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-23 16:49:10 -07:00
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>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user