all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Oleh Krehel <o.krehel@tue.nl>
To: 19460@debbugs.gnu.org
Subject: bug#19460: 25.0.50; help-function-arglist returns (&rest rest) for adviced functions
Date: Sun, 28 Dec 2014 21:28:48 +0100	[thread overview]
Message-ID: <CAJ1SQWBO_DV8UPJsXwxZKXY9w6mDdxTFwxT8o_brO4q6ci7-HA@mail.gmail.com> (raw)

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





             reply	other threads:[~2014-12-28 20:28 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-28 20:28 Oleh Krehel [this message]
2017-10-14 23:25 ` bug#19460: 25.0.50; help-function-arglist returns (&rest rest) for adviced functions Noam Postavsky

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAJ1SQWBO_DV8UPJsXwxZKXY9w6mDdxTFwxT8o_brO4q6ci7-HA@mail.gmail.com \
    --to=o.krehel@tue.nl \
    --cc=19460@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.