diff options
| author | Stefan Monnier | 2010-12-15 12:46:59 -0500 |
|---|---|---|
| committer | Stefan Monnier | 2010-12-15 12:46:59 -0500 |
| commit | a0ee6f2751acba71df443d4d795bb350eb6421dd (patch) | |
| tree | e4f47d66877b1b00b9ce00a304b509dee840868a /src/doc.c | |
| parent | defb141157dfa37c33cdcbfa4b29c702a8fc9edf (diff) | |
| download | emacs-a0ee6f2751acba71df443d4d795bb350eb6421dd.tar.gz emacs-a0ee6f2751acba71df443d4d795bb350eb6421dd.zip | |
Obey lexical-binding in interactive evaluation commands.
* lisp/emacs-lisp/edebug.el (edebug-eval-defun, edebug-eval):
* lisp/emacs-lisp/lisp-mode.el (eval-last-sexp-1, eval-defun-1):
* lisp/ielm.el (ielm-eval-input):
* lisp/simple.el (eval-expression): Use new eval arg to obey lexical-binding.
* src/eval.c (Feval): Add `lexical' argument. Adjust callers.
(Ffuncall, eval_sub): Avoid goto.
Diffstat (limited to 'src/doc.c')
| -rw-r--r-- | src/doc.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -490,7 +490,7 @@ aren't strings. */) | |||
| 490 | } | 490 | } |
| 491 | else if (!STRINGP (tem)) | 491 | else if (!STRINGP (tem)) |
| 492 | /* Feval protects its argument. */ | 492 | /* Feval protects its argument. */ |
| 493 | tem = Feval (tem); | 493 | tem = Feval (tem, Qnil); |
| 494 | 494 | ||
| 495 | if (NILP (raw) && STRINGP (tem)) | 495 | if (NILP (raw) && STRINGP (tem)) |
| 496 | tem = Fsubstitute_command_keys (tem); | 496 | tem = Fsubstitute_command_keys (tem); |