aboutsummaryrefslogtreecommitdiffstats
path: root/src/eval.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/eval.c')
-rw-r--r--src/eval.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/eval.c b/src/eval.c
index 9268b65aa85..f5397e9fb72 100644
--- a/src/eval.c
+++ b/src/eval.c
@@ -2364,9 +2364,13 @@ static Lisp_Object list_of_t; /* Never-modified constant containing (t). */
2364 2364
2365DEFUN ("eval", Feval, Seval, 1, 2, 0, 2365DEFUN ("eval", Feval, Seval, 1, 2, 0,
2366 doc: /* Evaluate FORM and return its value. 2366 doc: /* Evaluate FORM and return its value.
2367If LEXICAL is t, evaluate using lexical scoping. 2367If LEXICAL is `t', evaluate using lexical binding by default.
2368LEXICAL can also be an actual lexical environment, in the form of an 2368This is the recommended value.
2369alist mapping symbols to their value. */) 2369
2370If absent or `nil', use dynamic scoping only.
2371
2372LEXICAL can also represent an actual lexical environment; see the Info
2373node `(elisp)Eval' for details. */)
2370 (Lisp_Object form, Lisp_Object lexical) 2374 (Lisp_Object form, Lisp_Object lexical)
2371{ 2375{
2372 specpdl_ref count = SPECPDL_INDEX (); 2376 specpdl_ref count = SPECPDL_INDEX ();