diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2012-11-20 14:30:37 -0500 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2012-11-20 14:30:37 -0500 |
commit | 8b62d7427e12bbf07ab3454cc061a6b43ded56dd (patch) | |
tree | 8d4718f70f62c2917e8f8a536ccd3cb537b8f59d /lisp/uniquify.el | |
parent | 5d0ccd9509a21ef18e60004a4d46e60a916e4a36 (diff) | |
download | emacs-8b62d7427e12bbf07ab3454cc061a6b43ded56dd.tar.gz |
* lisp/emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
(trace-buffer): Don't purecopy.
(trace-entry-message, trace-exit-message): Add `context' arg.
(trace--timer): New var.
(trace-make-advice): Adjust for use in nadvice.
Add `context' argument. Delay `display-buffer' via a timer.
(trace-function-internal): Use advice-add.
(trace--read-args): New function.
(trace-function-foreground, trace-function-background): Use it.
(trace-function): Rename to trace-function-foreground and redefine as
an alias to that new name.
(untrace-function, untrace-all): Adjust to the use of nadvice.
Diffstat (limited to 'lisp/uniquify.el')
0 files changed, 0 insertions, 0 deletions