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/debug.el | |
parent | 4618713ae48aac51c6f1a2474cc981f32c2bbede (diff) | |
download | emacs-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/debug.el')
-rw-r--r-- | lisp/emacs-lisp/debug.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/debug.el b/lisp/emacs-lisp/debug.el index dbd0f092446..77abbc96d2d 100644 --- a/lisp/emacs-lisp/debug.el +++ b/lisp/emacs-lisp/debug.el @@ -798,7 +798,8 @@ Redefining FUNCTION also cancels it." (not (special-form-p symbol)))) t nil nil (symbol-name fn))) (list (if (equal val "") fn (intern val))))) - (advice-add function :before #'debug--implement-debug-on-entry) + (advice-add function :before #'debug--implement-debug-on-entry + '((depth . -100))) function) (defun debug--function-list () |