4 ms·
Emacs Lisp is still dynamically scoped, no?
by bathyspheric 7y ago
Emacs Lisp is still dynamically scoped, no?
- Impl0x 7y agoI believe so, yes.
- Jtsummers 7y agohttps://www.gnu.org/software/emacs/manual/html_node/elisp/Using-Lexical-Binding.html https://www.gnu.org/software/emacs/manual/html_node/elisp/Us... Since Emacs 24.1 (had to look up the version), it's been possible to enable lexical scope for a file or buffer. The default is still dynamic scope, and dynamic scope can be achieved even after enabling lexical scope with certain conditions.