Hi Agustin, Agustin Martin <agmar...@debian.org> writes:
> On Tue, Mar 04, 2025 at 10:00:47AM +0100, Jörg-Volker Peetz wrote: >> Package: emacsen-common >> Version: 3.0.5 >> Severity: minor >> >> Dear Maintainer, >> >> during upgrade to emacs 30 (1:30.1+1-1) the following warning appears: >> >> usr/share/emacs/site-lisp/debian-startup.el:1:1: Warning: file has no >> ‘lexical-binding’ directive on its first line >> >> Should this be fixed by adding such directive? > > This code is supposed to run for both Emacs and XEmacs, which seems not to > have lexical binding. Since code should not use lexical-binding for that > reason, first line should probably default to nil (disabled) > > ;; -*- lexical-binding: nil -*- This is reasonable. But does "lexical-binding: t" take any effect in XEmacs? It may be OK if this is no-op in XEmacs so that it's only turned on for GNU Emacs. > > [...] -- Regards, Xiyue Deng
signature.asc
Description: PGP signature