mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 01:26:39 -04:00
Emacs ports: Add lexical-binding cookie to site-wide initialization
As of 9f25d46568b in upstream's master branch, Emacs emits a run-time warning when lexical binding is unset. This serves as a reminder that lexical binding is preferred. Reviewed by: yasu Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D49991
This commit is contained in:
parent
125700dbc3
commit
58c7c92693
4 changed files with 6 additions and 1 deletions
|
@ -1,5 +1,6 @@
|
|||
PORTNAME= emacs
|
||||
DISTVERSION= 31.0.50.20250419
|
||||
PORTREVISION= 1
|
||||
PORTEPOCH= 3
|
||||
CATEGORIES= editors
|
||||
PKGNAMESUFFIX= -devel
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
;;; site-start.el --- Site-wide Initialization -*- lexical-binding: t -*-
|
||||
|
||||
;;; Path to Emacs C Sources.
|
||||
(when (string-match (regexp-quote "%%EMACS_VER%%") emacs-version)
|
||||
(setq find-function-C-source-directory
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
PORTNAME= emacs
|
||||
DISTVERSION= 30.1
|
||||
PORTREVISION= 3
|
||||
PORTREVISION= 4
|
||||
PORTEPOCH= 3
|
||||
CATEGORIES= editors
|
||||
MASTER_SITES= GNU
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
;;; site-start.el --- Site-wide Initialization -*- lexical-binding: t -*-
|
||||
|
||||
;;; Path to Emacs C Sources.
|
||||
(when (string-match (regexp-quote "%%EMACS_VER%%") emacs-version)
|
||||
(setq find-function-C-source-directory
|
||||
|
|
Loading…
Add table
Reference in a new issue