all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#19460: 25.0.50; help-function-arglist returns (&rest rest) for adviced functions
@ 2014-12-28 20:28 Oleh Krehel
  2017-10-14 23:25 ` Noam Postavsky
  0 siblings, 1 reply; 2+ messages in thread
From: Oleh Krehel @ 2014-12-28 20:28 UTC (permalink / raw)
  To: 19460

Hello,

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)

I posted this question on StackOverflow and the answer was to use:

    (help-function-arglist
     (ad-get-orig-definition 'ido-read-internal))

However Stefan suggested in the comments that this could be a bug,
so I'm reporting it here.

regards,
Oleh





^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#19460: 25.0.50; help-function-arglist returns (&rest rest) for adviced functions
  2014-12-28 20:28 bug#19460: 25.0.50; help-function-arglist returns (&rest rest) for adviced functions Oleh Krehel
@ 2017-10-14 23:25 ` Noam Postavsky
  0 siblings, 0 replies; 2+ messages in thread
From: Noam Postavsky @ 2017-10-14 23:25 UTC (permalink / raw)
  To: Oleh Krehel; +Cc: 19460

tags 19460 fixed
close 19460 26.1
quit

Oleh Krehel <o.krehel@tue.nl> 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





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-10-14 23:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-28 20:28 bug#19460: 25.0.50; help-function-arglist returns (&rest rest) for adviced functions Oleh Krehel
2017-10-14 23:25 ` Noam Postavsky

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.