]> git.eshelyaron.com Git - emacs.git/commit
Always heed the `lexical-binding' local variable
authorLars Ingebrigtsen <larsi@gnus.org>
Mon, 10 May 2021 10:40:11 +0000 (12:40 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Mon, 10 May 2021 10:40:11 +0000 (12:40 +0200)
commit5bedbe6b1d5f4b801abf91b4d023d5c4e66418f0
tree06287a9a5fd279f3fb7e4b6185e24d9a36fb3ac3
parentaa354dd55b213b86ee8e3aa0365a6ad915838458
Always heed the `lexical-binding' local variable

* doc/lispref/variables.texi (File Local Variables): Document
`permanently-enabled-local-variables'.

* lisp/files.el (enable-local-variables): Mention the new variable.
(set-auto-mode): Always call `hack-local-variables'.
(hack-local-variables): Factor out the variable gathering into its
own function, and respect the new variable (bug#47843).
(hack-local-variables--find-variables): Factored out from
`hack-local-variables'.
(permanently-enabled-local-variables): New variable.
doc/lispref/variables.texi
etc/NEWS
lisp/files.el
test/lisp/files-tests.el