diff options
author | Stefan Monnier <[email protected]> | 2010-12-15 12:46:59 -0500 |
---|---|---|
committer | Stefan Monnier <[email protected]> | 2010-12-15 12:46:59 -0500 |
commit | a0ee6f2751acba71df443d4d795bb350eb6421dd (patch) | |
tree | e4f47d66877b1b00b9ce00a304b509dee840868a /src/doc.c | |
parent | defb141157dfa37c33cdcbfa4b29c702a8fc9edf (diff) |
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. */) } else if (!STRINGP (tem)) /* Feval protects its argument. */ - tem = Feval (tem); + tem = Feval (tem, Qnil); if (NILP (raw) && STRINGP (tem)) tem = Fsubstitute_command_keys (tem); |