summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/trace.el
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2013-12-12 14:47:11 -0500
committerStefan Monnier <monnier@iro.umontreal.ca>2013-12-12 14:47:11 -0500
commitcb3a1380602b81aebf2217a2800ae1c326cb263b (patch)
treec75295a81d67e7f57e0c4dadc45b7492f1f1a0ca /lisp/emacs-lisp/trace.el
parent4618713ae48aac51c6f1a2474cc981f32c2bbede (diff)
downloademacs-cb3a1380602b81aebf2217a2800ae1c326cb263b.tar.gz
* lisp/emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
(advice--make): Pay attention to `depth'. (advice--make-1): Don't autoload commands eagerly. * lisp/emacs-lisp/elp.el (elp-instrument-function): * lisp/emacs-lisp/trace.el (trace-function-internal): * lisp/emacs-lisp/debug.el (debug-on-entry): Keep them "first". * lisp/iswitchb.el (iswitchb-mode): Don't belittle ido.
Diffstat (limited to 'lisp/emacs-lisp/trace.el')
-rw-r--r--lisp/emacs-lisp/trace.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/trace.el b/lisp/emacs-lisp/trace.el
index 3a2c44a8da6..cbbfd268445 100644
--- a/lisp/emacs-lisp/trace.el
+++ b/lisp/emacs-lisp/trace.el
@@ -256,7 +256,7 @@ be printed along with the arguments in the trace."
function :around
(trace-make-advice function (or buffer trace-buffer) background
(or context (lambda () "")))
- `((name . ,trace-advice-name))))
+ `((name . ,trace-advice-name) (depth . -100))))
(defun trace-is-traced (function)
(advice-member-p trace-advice-name function))