|
From: | Drew Adams |
Subject: | RE: [External] : Re: How do I pass a variable defined in a wrapping let, to a lambda? |
Date: | Sat, 12 Mar 2022 20:31:59 +0000 |
> > `-*- lexical-binding:t -*-` doesn't prevent the use of > > dynamic scoping. > > How do I define a function that uses dynamic binding in a > file that has `-*- lexical-binding:t -*-`? A _function_ that uses it? Just what do you mean by that? Function names are (typically) bound dynamically, with defun. ___ For a variable, you use a vacuous defvar: (defvar foo) ; "special" var, i.e. dynamically bound
[Prev in Thread] | Current Thread | [Next in Thread] |