I have been trying to understand what difference it makes if you set the file variable
t for a particular source file.
As mentioned in emacswiki that in order to use lexical-bindings in your source files, you specifically have to opt for it by setting the local file variable.
However, with all that I tried, I could not find any difference in the behavior of the source code within the file and being able to access variables declared in the file from outside and vice-versa.
Is there a way I can see the difference myself for how using
;;; -*- lexical-binding: t -*- in the first line of my source files enables lexical-binding instead of using dynamic-binding?