mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-09 07:40:39 -08:00
Use advice--cd*r where applicable
* lisp/emacs-lisp/bytecomp.el (byte-compile--function-signature): * lisp/emacs-lisp/advice.el (ad-get-orig-definition): * lisp/help.el (help-function-arglist): Use `advice--cd*r`.
This commit is contained in:
parent
21112e3683
commit
4dba7c31a2
3 changed files with 3 additions and 4 deletions
|
|
@ -1439,7 +1439,7 @@ when printing the error message."
|
|||
(and (eq 'macro (car-safe f)) (setq f (cdr f)))
|
||||
;; Advice wrappers have "catch all" args, so fetch the actual underlying
|
||||
;; function to find the real arguments.
|
||||
(while (advice--p f) (setq f (advice--cdr f)))
|
||||
(setq f (advice--cd*r f))
|
||||
(if (eq (car-safe f) 'declared)
|
||||
(byte-compile-arglist-signature (nth 1 f))
|
||||
(condition-case nil
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue