all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Michael Heerdegen <michael_heerdegen@web.de>
To: 64797@debbugs.gnu.org
Cc: "Mattias Engdegård" <mattiase@acm.org>,
	"Stefan Monnier" <monnier@iro.umontreal.ca>
Subject: bug#64797: 30.0.50; advised alias -> "function is an alias for nil" in Help
Date: Sun, 23 Jul 2023 05:13:41 +0200	[thread overview]
Message-ID: <877cqrl3q2.fsf@web.de> (raw)


Hello,

an example: `manual-entry' is an alias for `man'.  When now the alias is
advised, for example like

  (advice-add 'manual-entry :filter-return #'identity)

and you do C-h f manual-entry RET, the first line of the Help buffer
will say:

| manual-entry is an alias for ‘nil’, which is not defined.

which is obviously nonsense.

Seems that this regression in `help-fns--analyze-function' had been
introduced by

d30fde6b0cc "Avoid infloops in help-fns--analyze-function with aliases"
(Lars Ingebrigtsen <larsi@gnus.org> 2022-01-13)

I CC Mattias and Stefan you might be able to help.


TIA,

Michael.








             reply	other threads:[~2023-07-23  3:13 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-23  3:13 Michael Heerdegen [this message]
2023-07-27 15:11 ` bug#64797: 30.0.50; advised alias -> "function is an alias for nil" in Help Mattias Engdegård
2023-07-27 23:08   ` Michael Heerdegen

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=877cqrl3q2.fsf@web.de \
    --to=michael_heerdegen@web.de \
    --cc=64797@debbugs.gnu.org \
    --cc=mattiase@acm.org \
    --cc=monnier@iro.umontreal.ca \
    /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.