diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2010-12-15 12:46:59 -0500 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2010-12-15 12:46:59 -0500 |
commit | a0ee6f2751acba71df443d4d795bb350eb6421dd (patch) | |
tree | e4f47d66877b1b00b9ce00a304b509dee840868a /lisp/ielm.el | |
parent | defb141157dfa37c33cdcbfa4b29c702a8fc9edf (diff) | |
download | emacs-a0ee6f2751acba71df443d4d795bb350eb6421dd.tar.gz |
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 'lisp/ielm.el')
-rw-r--r-- | lisp/ielm.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/ielm.el b/lisp/ielm.el index 40e87cd6709..e1f8dc78d32 100644 --- a/lisp/ielm.el +++ b/lisp/ielm.el @@ -372,7 +372,8 @@ simply inserts a newline." (*** *3)) (kill-buffer (current-buffer)) (set-buffer ielm-wbuf) - (setq ielm-result (eval ielm-form)) + (setq ielm-result + (eval ielm-form lexical-binding)) (setq ielm-wbuf (current-buffer)) (setq ielm-temp-buffer |