[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master 898a023: Macroexpand before evaluating in eval-expr
From: |
Charles A. Roelli |
Subject: |
[Emacs-diffs] master 898a023: Macroexpand before evaluating in eval-expression (bis) |
Date: |
Sat, 22 Dec 2018 14:52:09 -0500 (EST) |
branch: master
commit 898a0234c9054c155414dcfac4e3e9565a0b144c
Author: Charles A. Roelli <address@hidden>
Commit: Charles A. Roelli <address@hidden>
Macroexpand before evaluating in eval-expression (bis)
* lisp/simple.el (eval-expression): Macroexpand before
evaluating. This repeats the fix made for Bug#20730 in
another branch of the code a few lines down.
---
lisp/simple.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lisp/simple.el b/lisp/simple.el
index 6765f1c..905477a 100644
--- a/lisp/simple.el
+++ b/lisp/simple.el
@@ -1615,7 +1615,7 @@ this command arranges for all errors to enter the
debugger."
(eval-expression-get-print-arguments current-prefix-arg)))
(if (null eval-expression-debug-on-error)
- (push (eval exp lexical-binding) values)
+ (push (eval (macroexpand-all exp) lexical-binding) values)
(let ((old-value (make-symbol "t")) new-value)
;; Bind debug-on-error to something unique so that we can
;; detect when evalled code changes it.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] master 898a023: Macroexpand before evaluating in eval-expression (bis),
Charles A. Roelli <=