GNU bug report logs - #58284
29.0.50; advice error for advised function with no docstring

Previous Next

Package: emacs;

Reported by: Katsumi Yamaoka <yamaoka <at> jpl.org>

Date: Tue, 4 Oct 2022 05:37:02 UTC

Severity: normal

Found in version 29.0.50

Fixed in version 29.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Katsumi Yamaoka <yamaoka <at> jpl.org>
Cc: 58284 <at> debbugs.gnu.org
Subject: bug#58284: 29.0.50; advice error for advised function with no docstring
Date: Tue, 04 Oct 2022 12:50:01 +0200
Katsumi Yamaoka <yamaoka <at> jpl.org> writes:

> I found `C-h f' to not work for some advised functions.
> It seems to happen when an original function has no docstring.
> Here is a recipe:
>
> (progn
>   (defun foo () t)
>   (defadvice foo (around testing activate) "" ad-do-it)
>   (documentation 'foo))

I've now fixed this in Emacs 29.




This bug report was last modified 2 years and 228 days ago.

Previous Next


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