mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-03 18:41:25 -08:00
* lisp/emacs-lisp/trace.el (trace--read-args): Use a closure and an honest
call to `eval' rather than a backquoted lambda.
This commit is contained in:
parent
ffe04adc88
commit
e59eee439c
2 changed files with 8 additions and 3 deletions
|
|
@ -256,9 +256,9 @@ be printed along with the arguments in the trace."
|
|||
(read-from-minibuffer "Context expression: "
|
||||
nil read-expression-map t
|
||||
'read-expression-history))))
|
||||
`(lambda ()
|
||||
(let ((print-circle t))
|
||||
(concat " [" (prin1-to-string ,exp) "]"))))))))
|
||||
(lambda ()
|
||||
(let ((print-circle t))
|
||||
(concat " [" (prin1-to-string (eval exp t)) "]"))))))))
|
||||
|
||||
;;;###autoload
|
||||
(defun trace-function-foreground (function &optional buffer context)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue