all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* What does `eval' do when `lexical-binding' is set to t?
@ 2015-12-30 12:28 Marcin Borkowski
  2015-12-30 17:34 ` Michael Heerdegen
  0 siblings, 1 reply; 2+ messages in thread
From: Marcin Borkowski @ 2015-12-30 12:28 UTC (permalink / raw)
  To: Help Gnu Emacs mailing list

Hi list,

do I get it right that `eval' uses dynamic scoping if its second
argument is nil, irrespective of `lexical-binding'?

TIA,

-- 
Marcin Borkowski
http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
Faculty of Mathematics and Computer Science
Adam Mickiewicz University



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: What does `eval' do when `lexical-binding' is set to t?
  2015-12-30 12:28 What does `eval' do when `lexical-binding' is set to t? Marcin Borkowski
@ 2015-12-30 17:34 ` Michael Heerdegen
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Heerdegen @ 2015-12-30 17:34 UTC (permalink / raw)
  To: help-gnu-emacs

Marcin Borkowski <mbork@mbork.pl> writes:

> do I get it right that `eval' uses dynamic scoping if its second
> argument is nil, irrespective of `lexical-binding'?

AFAIK yes.  Often people pass `lexical-binding' as second argument to
`eval' in the code.


Michael.




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-12-30 17:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-30 12:28 What does `eval' do when `lexical-binding' is set to t? Marcin Borkowski
2015-12-30 17:34 ` Michael Heerdegen

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.