* bug#58284: 29.0.50; advice error for advised function with no docstring
@ 2022-10-04 5:35 Katsumi Yamaoka
2022-10-04 10:50 ` Lars Ingebrigtsen
0 siblings, 1 reply; 2+ messages in thread
From: Katsumi Yamaoka @ 2022-10-04 5:35 UTC (permalink / raw)
To: 58284
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'
^ permalink raw reply [flat|nested] 2+ messages in thread
* bug#58284: 29.0.50; advice error for advised function with no docstring
2022-10-04 5:35 bug#58284: 29.0.50; advice error for advised function with no docstring Katsumi Yamaoka
@ 2022-10-04 10:50 ` Lars Ingebrigtsen
0 siblings, 0 replies; 2+ messages in thread
From: Lars Ingebrigtsen @ 2022-10-04 10:50 UTC (permalink / raw)
To: Katsumi Yamaoka; +Cc: 58284
Katsumi Yamaoka <yamaoka@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.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-10-04 10:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-04 5:35 bug#58284: 29.0.50; advice error for advised function with no docstring Katsumi Yamaoka
2022-10-04 10:50 ` Lars Ingebrigtsen
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.