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

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.