>>>>> Ikumi Keita <[email protected]> writes:
> My understanding of the last sentence is as follows:
More straightforwad example is:
----------------------------------------------------------------------
(setq foo 1) ; dynamic global binding without defvar.
(let ((foo foo)) ; creates lexical binding on foo.
  (setq foo (1+ foo)) ; sets lexically bound value.
  (symbol-value 'foo)) ; accesses dynamically bound value.
  ; => 1
----------------------------------------------------------------------
This is the meaning of
,----
| Note that if ‘lexical-binding’ is in effect, this returns the
| global value outside of any lexical scope.
`----
, I think.

Regards,
Ikumi Keita

Reply via email to