* lisp/emacs-lisp/bytecomp.el: Fix bug#14860.
commit6e2d6d54e1236216462c13655ea1fe573d9672e7
authorStefan Monnier <monnier@iro.umontreal.ca>
Fri, 14 Jul 2017 15:27:21 +0000 (14 11:27 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Fri, 14 Jul 2017 15:27:21 +0000 (14 11:27 -0400)
treea5e1af3e57a5d1c3c7bf7828a60f6ab7c6e28f68
parent583995c62dd424775dda33d5134ce04bee2ae685
* lisp/emacs-lisp/bytecomp.el: Fix bug#14860.

* lisp/emacs-lisp/bytecomp.el (byte-compile--function-signature): New fun.
Dig into advice wrappers to find the "real" signature.
(byte-compile-callargs-warn, byte-compile-arglist-warn): Use it.
(byte-compile-arglist-signature): Don't bother with "new-style" arglists,
since bytecode functions are now handled in byte-compile--function-signature.

* lisp/files.el (create-file-buffer, insert-directory):
Remove workaround introduced for (bug#14860).

* lisp/help-fns.el (help-fns--analyse-function): `nadvice` is preloaded.

* lisp/help.el (help-function-arglist):
Dig into advice wrappers to find the "real" signature.
lisp/emacs-lisp/bytecomp.el
lisp/files.el
lisp/help-fns.el
lisp/help.el