diff options
| author | Stefan Monnier | 2013-01-16 14:06:15 -0500 |
|---|---|---|
| committer | Stefan Monnier | 2013-01-16 14:06:15 -0500 |
| commit | e59eee439c0e379bb062ffa26361ad90fd540406 (patch) | |
| tree | 02a0e0d46a93f181dab4e0f08e9aed6b194240dd /lisp | |
| parent | ffe04adc88e546c406f9b050238fb98a7243c7a0 (diff) | |
| download | emacs-e59eee439c0e379bb062ffa26361ad90fd540406.tar.gz emacs-e59eee439c0e379bb062ffa26361ad90fd540406.zip | |
* lisp/emacs-lisp/trace.el (trace--read-args): Use a closure and an honest
call to `eval' rather than a backquoted lambda.
Diffstat (limited to 'lisp')
| -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) |