all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#64797: 30.0.50; advised alias -> "function is an alias for nil" in Help
@ 2023-07-23  3:13 Michael Heerdegen
  2023-07-27 15:11 ` Mattias Engdegård
  0 siblings, 1 reply; 3+ messages in thread
From: Michael Heerdegen @ 2023-07-23  3:13 UTC (permalink / raw)
  To: 64797; +Cc: Mattias Engdegård, Stefan Monnier


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.








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

end of thread, other threads:[~2023-07-27 23:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-23  3:13 bug#64797: 30.0.50; advised alias -> "function is an alias for nil" in Help Michael Heerdegen
2023-07-27 15:11 ` Mattias Engdegård
2023-07-27 23:08   ` Michael Heerdegen

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.