]> git.eshelyaron.com Git - emacs.git/commit
Check if lexical-binding is enabled before warning
authorPhilip Kaludercic <philipk@posteo.net>
Tue, 2 Apr 2024 16:01:27 +0000 (18:01 +0200)
committerEshel Yaron <me@eshelyaron.com>
Thu, 4 Apr 2024 11:39:01 +0000 (13:39 +0200)
commit8c8cafaa37511635549358cb4c43e37f1f10ad1b
treebbc60c8c298020cdba8f8d7b4c5c9ef9f1aec79d
parent5da5234e16ea65a0cedb34e9adcba171be38bec3
Check if lexical-binding is enabled before warning

* lisp/emacs-lisp/bytecomp.el (byte-compile-file): Suppress "file
has no `lexical-binding' directive" is the variable is non-nil,
as is the case with 'lisp-interaction-mode'.  (Bug#70068)

(cherry picked from commit 7de192680fdac6938f5704aea0310b85b0da9c5e)
lisp/emacs-lisp/bytecomp.el