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


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Katsumi Yamaoka <yamaoka <at> jpl.org>
To: bug-gnu-emacs <at> gnu.org
Subject: 29.0.50; advice error for advised function with no docstring
Date: Tue, 04 Oct 2022 14:35:43 +0900
Hi,

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))

Thanks.

In GNU Emacs 29.0.50 (build 1, x86_64-pc-cygwin, GTK+ Version
 3.22.28, cairo version 1.17.4) of 2022-10-04 built on localhost
Windowing system distributor 'The Cygwin/X Project', version 11.0.12101004
Configured using:
 'configure 'CFLAGS=-O0 -g3' --verbose --with-x-toolkit=gtk3
 --with-imagemagick'




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

Previous Next


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