Open
Description
Nowdays one should use lexical binding for library programming in Elisp. Optimization is better with lexical binding.
The new Section should contain the following warning:
If one uses a special variable from another library in a function one must have either a top-level defvar
for that variable in the file where it is used or a require
for the other library at top-level. Otherwise let
in functions can go terribly wrong for variables that are declared special in other libraries. The lexical binding of that variables is not visible in functions called within the let
-form.
Metadata
Metadata
Assignees
Labels
No labels