diff options
| author | Stefan Monnier | 2013-02-25 11:05:49 -0500 |
|---|---|---|
| committer | Stefan Monnier | 2013-02-25 11:05:49 -0500 |
| commit | b5071fc755c4f287c7befba1150d91a985762ebd (patch) | |
| tree | 3fd1e218ab78050d4695036fb32e74d87b46dade /src/eval.c | |
| parent | 944c37effa068de90af84c37106461bca3076bea (diff) | |
| download | emacs-b5071fc755c4f287c7befba1150d91a985762ebd.tar.gz emacs-b5071fc755c4f287c7befba1150d91a985762ebd.zip | |
* src/callint.c (Fcall_interactively): Use the right lexical environment
for `interactive' specs.
* src/eval.c (Feval): Accept a lexical environment.
Fixes: debbugs:13811
Diffstat (limited to 'src/eval.c')
| -rw-r--r-- | src/eval.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/eval.c b/src/eval.c index 030bf14bcea..5db6f9d0bf3 100644 --- a/src/eval.c +++ b/src/eval.c | |||
| @@ -1898,7 +1898,7 @@ If LEXICAL is t, evaluate using lexical scoping. */) | |||
| 1898 | { | 1898 | { |
| 1899 | ptrdiff_t count = SPECPDL_INDEX (); | 1899 | ptrdiff_t count = SPECPDL_INDEX (); |
| 1900 | specbind (Qinternal_interpreter_environment, | 1900 | specbind (Qinternal_interpreter_environment, |
| 1901 | NILP (lexical) ? Qnil : Fcons (Qt, Qnil)); | 1901 | CONSP (lexical) || NILP (lexical) ? lexical : Fcons (Qt, Qnil)); |
| 1902 | return unbind_to (count, eval_sub (form)); | 1902 | return unbind_to (count, eval_sub (form)); |
| 1903 | } | 1903 | } |
| 1904 | 1904 | ||