GNU bug report logs - #64797
30.0.50; advised alias -> "function is an alias for nil" in Help

Previous Next

Package: emacs;

Reported by: Michael Heerdegen <michael_heerdegen <at> web.de>

Date: Sun, 23 Jul 2023 03:15:02 UTC

Severity: normal

Found in version 30.0.50

Done: Mattias Engdegård <mattias.engdegard <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Michael Heerdegen <michael_heerdegen <at> web.de>
To: 64797 <at> debbugs.gnu.org
Cc: Mattias Engdegård <mattiase <at> acm.org>, Stefan Monnier <monnier <at> 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
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 <at> gnus.org> 2022-01-13)

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


TIA,

Michael.







This bug report was last modified 1 year and 358 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.