Subject: bug#19460: 25.0.50; help-function-arglist returns (&rest rest) for adviced functions

From: Noam Postavsky <[email-masked]>
Date: Sat, 14 Oct 2017 19:25:23 -0400

tags 19460 fixed
close 19460 26.1
quit

Oleh Krehel <[email-masked]> writes:

> After a minimal config:
>
>     (ido-mode)
>     (require 'flx-ido)
>     (setq ido-enable-flex-matching t)
>
> `ido-read-internal' becomes advised by `flx'.
> So now I get this:
>
>     (help-function-arglist 'ido-read-internal t)
>     ;; => (&rest rest)
>
> instead of this:
>
>     (help-function-arglist 'ido-read-internal t)
>     ;; => (item prompt hist &optional default require-match initial)

This is fixed in emacs-26, by [1: 6e2d6d54e1], I believe.

[1: 6e2d6d54e1]: 2017-07-14 11:27:21 -0400
  * lisp/emacs-lisp/bytecomp.el: Fix bug#14860.
  http://git.savannah.gnu.org/cgit/emacs.git/commit/?id=6e2d6d54e1236216462c13655ea1fe573d9672e7