diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2013-12-12 14:47:11 -0500 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2013-12-12 14:47:11 -0500 |
commit | cb3a1380602b81aebf2217a2800ae1c326cb263b (patch) | |
tree | c75295a81d67e7f57e0c4dadc45b7492f1f1a0ca /lisp/emacs-lisp/elp.el | |
parent | 4618713ae48aac51c6f1a2474cc981f32c2bbede (diff) | |
download | emacs-cb3a1380602b81aebf2217a2800ae1c326cb263b.tar.gz emacs-cb3a1380602b81aebf2217a2800ae1c326cb263b.tar.bz2 emacs-cb3a1380602b81aebf2217a2800ae1c326cb263b.zip |
* 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/elp.el')
-rw-r--r-- | lisp/emacs-lisp/elp.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/elp.el b/lisp/emacs-lisp/elp.el index f1321eb4e6d..1187169b034 100644 --- a/lisp/emacs-lisp/elp.el +++ b/lisp/emacs-lisp/elp.el @@ -251,7 +251,7 @@ FUNSYM must be a symbol of a defined function." ;; Set the symbol's new profiling function definition to run ;; ELP wrapper. (advice-add funsym :around (elp--make-wrapper funsym) - `((name . ,elp--advice-name))))) + `((name . ,elp--advice-name) (depth . -99))))) (defun elp--instrumented-p (sym) (advice-member-p elp--advice-name sym)) |