stsquad / emacs_chrome

A Chromium/Firefox "clone" of It's All Text for spawning an editor to edit text areas in browsers. Based on David Hilley's original Chromium extension.
https://chrome.google.com/extensions/detail/ljobjlafonikaiipfkggjbhkghgicgoh
GNU General Public License v3.0
512 stars 91 forks source link

Specify `lexical-binding' explicitly #189

Open kfogel opened 3 months ago

kfogel commented 3 months ago

See https://www.emacswiki.org/emacs/DynamicBindingVsLexicalBinding for more about the motivation for this change. Without this change, warnings like this will appear in the "Warnings" buffer at startup:

⛔ Warning (lexical-binding): File .../emacs_chrome/servers/edit-server.el lacks `lexical-binding' directive on its first line