[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: binding question
From: |
Stefan Monnier |
Subject: |
Re: binding question |
Date: |
Sun, 06 Oct 2013 10:45:04 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
> WRT, lexical vs dynamic binding, the code is written to assume dynamic
> binding, so you might want to explicitly set ‘lexical-binding’ to nil
> somewhere.
Better than set lexical-binding to nil is to add (defvar <foo>) at the
beginning of the file for every variable <foo> which is used via
dynamic scoping.
Stefan