pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/editors/emacs31



Module Name:    pkgsrc
Committed By:   wiz
Date:           Wed Sep 30 12:16:42 UTC 2026

Modified Files:
        pkgsrc/editors/emacs31: Makefile Makefile.common
        pkgsrc/editors/emacs31/files: site-init.el

Log Message:
emacs31: get rid of startup warning about lexical bindings

Bump PKGREVISION.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 pkgsrc/editors/emacs31/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/editors/emacs31/Makefile.common
cvs rdiff -u -r1.1 -r1.2 pkgsrc/editors/emacs31/files/site-init.el

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/editors/emacs31/Makefile
diff -u pkgsrc/editors/emacs31/Makefile:1.6 pkgsrc/editors/emacs31/Makefile:1.7
--- pkgsrc/editors/emacs31/Makefile:1.6 Tue Sep 29 06:04:46 2026
+++ pkgsrc/editors/emacs31/Makefile     Wed Sep 30 12:16:41 2026
@@ -1,10 +1,10 @@
-# $NetBSD: Makefile,v 1.6 2026/09/29 06:04:46 wiz Exp $
+# $NetBSD: Makefile,v 1.7 2026/09/30 12:16:41 wiz Exp $
 
 CONFLICTS+=    emacs31-nox11-[0-9]*
 
 .include "../../editors/emacs31/Makefile.common"
 
-PKGREVISION=   5
+PKGREVISION=   6
 
 .include "options.mk"
 

Index: pkgsrc/editors/emacs31/Makefile.common
diff -u pkgsrc/editors/emacs31/Makefile.common:1.2 pkgsrc/editors/emacs31/Makefile.common:1.3
--- pkgsrc/editors/emacs31/Makefile.common:1.2  Fri Sep 25 09:48:08 2026
+++ pkgsrc/editors/emacs31/Makefile.common      Wed Sep 30 12:16:41 2026
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.2 2026/09/25 09:48:08 wiz Exp $
+# $NetBSD: Makefile.common,v 1.3 2026/09/30 12:16:41 wiz Exp $
 #
 # used by editors/emacs31/Makefile
 # used by editors/emacs31-nox11/Makefile
@@ -97,7 +97,9 @@ post-install:
 # at startup; without it the files land where nothing looks.
 post-install: emacs-info-path
 emacs-info-path:
-       ${ECHO} '(setq Info-default-directory-list (append Info-default-directory-list' \
+       ${ECHO} ';;; -*- lexical-binding: nil -*-' \
                > ${DESTDIR}${PREFIX}/share/emacs/${PKGVERSION_NOREV}/site-lisp/site-start.el
+       ${ECHO} '(setq Info-default-directory-list (append Info-default-directory-list' \
+               >> ${DESTDIR}${PREFIX}/share/emacs/${PKGVERSION_NOREV}/site-lisp/site-start.el
        ${ECHO} '  (list (expand-file-name "../info" (file-name-directory load-file-name)))))' \
                >> ${DESTDIR}${PREFIX}/share/emacs/${PKGVERSION_NOREV}/site-lisp/site-start.el

Index: pkgsrc/editors/emacs31/files/site-init.el
diff -u pkgsrc/editors/emacs31/files/site-init.el:1.1 pkgsrc/editors/emacs31/files/site-init.el:1.2
--- pkgsrc/editors/emacs31/files/site-init.el:1.1       Tue Aug 25 17:22:38 2026
+++ pkgsrc/editors/emacs31/files/site-init.el   Wed Sep 30 12:16:41 2026
@@ -1,4 +1,6 @@
-;; $NetBSD: site-init.el,v 1.1 2026/08/25 17:22:38 wiz Exp $
+;;; -*- lexical-binding: nil -*-
+
+;; $NetBSD: site-init.el,v 1.2 2026/09/30 12:16:41 wiz Exp $
 
 (autoload 'send-pr "/usr/share/gnats/send-pr.el" 
   "Command to create and send a problem report." t)



Home | Main Index | Thread Index | Old Index