commit:     4ec5d09ca84656023ba401eb7f7a5fe693b75dc0
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 23 19:22:49 2025 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Wed Apr 23 19:22:49 2025 +0000
URL:        https://gitweb.gentoo.org/repo/proj/emacs.git/commit/?id=4ec5d09c

app-editors/emacs: Add lexbind cookie to site-init file

Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>

 app-editors/emacs/emacs-23.4-r21.ebuild | 5 ++---
 app-editors/emacs/emacs-24.3-r8.ebuild  | 5 ++---
 app-editors/emacs/emacs-24.5-r11.ebuild | 5 ++---
 3 files changed, 6 insertions(+), 9 deletions(-)

diff --git a/app-editors/emacs/emacs-23.4-r21.ebuild 
b/app-editors/emacs/emacs-23.4-r21.ebuild
index dd70dda..997bf4a 100644
--- a/app-editors/emacs/emacs-23.4-r21.ebuild
+++ b/app-editors/emacs/emacs-23.4-r21.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -273,8 +273,7 @@ src_install() {
        fi
 
        sed -e "${cdir:+#}/^Y/d" -e "s/^[XY]//" >"${T}/${SITEFILE}" <<-EOF || 
die
-       X
-       ;;; ${EMACS_SUFFIX} site-lisp configuration
+       ;;; ${EMACS_SUFFIX} site-lisp configuration  -*-lexical-binding:t-*-
        X
        (when (string-match "\\\\\`${FULL_VERSION//./\\\\.}\\\\>" emacs-version)
        Y  (setq find-function-C-source-directory

diff --git a/app-editors/emacs/emacs-24.3-r8.ebuild 
b/app-editors/emacs/emacs-24.3-r8.ebuild
index ea4c2eb..c7d3084 100644
--- a/app-editors/emacs/emacs-24.3-r8.ebuild
+++ b/app-editors/emacs/emacs-24.3-r8.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -282,8 +282,7 @@ src_install() {
        fi
 
        sed -e "${cdir:+#}/^Y/d" -e "s/^[XY]//" >"${T}/${SITEFILE}" <<-EOF || 
die
-       X
-       ;;; ${EMACS_SUFFIX} site-lisp configuration
+       ;;; ${EMACS_SUFFIX} site-lisp configuration  -*-lexical-binding:t-*-
        X
        (when (string-match "\\\\\`${FULL_VERSION//./\\\\.}\\\\>" emacs-version)
        Y  (setq find-function-C-source-directory

diff --git a/app-editors/emacs/emacs-24.5-r11.ebuild 
b/app-editors/emacs/emacs-24.5-r11.ebuild
index e79dd9e..60436f9 100644
--- a/app-editors/emacs/emacs-24.5-r11.ebuild
+++ b/app-editors/emacs/emacs-24.5-r11.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -267,8 +267,7 @@ src_install() {
        fi
 
        sed -e "${cdir:+#}/^Y/d" -e "s/^[XY]//" >"${T}/${SITEFILE}" <<-EOF || 
die
-       X
-       ;;; ${EMACS_SUFFIX} site-lisp configuration
+       ;;; ${EMACS_SUFFIX} site-lisp configuration  -*-lexical-binding:t-*-
        X
        (when (string-match "\\\\\`${FULL_VERSION//./\\\\.}\\\\>" emacs-version)
        Y  (setq find-function-C-source-directory

Reply via email to