diff options
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/emacs-lisp/trace.el | 6 |
2 files changed, 8 insertions, 3 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index f324ebbad51..676ce21ff14 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2013-01-16 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 2 | |||
| 3 | * emacs-lisp/trace.el (trace--read-args): Use a closure and an honest | ||
| 4 | call to `eval' rather than a backquoted lambda. | ||
| 5 | |||
| 1 | 2013-01-15 Stefan Monnier <monnier@iro.umontreal.ca> | 6 | 2013-01-15 Stefan Monnier <monnier@iro.umontreal.ca> |
| 2 | 7 | ||
| 3 | * emacs-lisp/nadvice.el (advice--tweak): Make it possible for `tweak' | 8 | * emacs-lisp/nadvice.el (advice--tweak): Make it possible for `tweak' |
diff --git a/lisp/emacs-lisp/trace.el b/lisp/emacs-lisp/trace.el index fb1b995be2b..09c4969cf18 100644 --- a/lisp/emacs-lisp/trace.el +++ b/lisp/emacs-lisp/trace.el | |||
| @@ -256,9 +256,9 @@ be printed along with the arguments in the trace." | |||
| 256 | (read-from-minibuffer "Context expression: " | 256 | (read-from-minibuffer "Context expression: " |
| 257 | nil read-expression-map t | 257 | nil read-expression-map t |
| 258 | 'read-expression-history)))) | 258 | 'read-expression-history)))) |
| 259 | `(lambda () | 259 | (lambda () |
| 260 | (let ((print-circle t)) | 260 | (let ((print-circle t)) |
| 261 | (concat " [" (prin1-to-string ,exp) "]")))))))) | 261 | (concat " [" (prin1-to-string (eval exp t)) "]")))))))) |
| 262 | 262 | ||
| 263 | ;;;###autoload | 263 | ;;;###autoload |
| 264 | (defun trace-function-foreground (function &optional buffer context) | 264 | (defun trace-function-foreground (function &optional buffer context) |