Function: eval
eval is a function defined in eval.c.
Signature
(eval FORM &optional LEXICAL)
Documentation
Evaluate FORM and return its value.
If LEXICAL is t, evaluate using lexical binding by default.
This is the recommended value.
If absent or nil, use dynamic scoping only.
LEXICAL can also represent an actual lexical environment; see the Info node (elisp)Eval for details.
Probably introduced at or before Emacs version 15.
Aliases
Source Code
// Defined in /usr/src/emacs/src/eval.c
{
specpdl_ref count = SPECPDL_INDEX ();
specbind (Qinternal_interpreter_environment,
CONSP (lexical) || NILP (lexical) ? lexical : list_of_t);
return unbind_to (count, eval_sub (form));
}