* 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.
This commit is contained in:
parent
4618713ae4
commit
cb3a138060
6 changed files with 49 additions and 26 deletions
|
@ -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 ()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue