GNU bug report logs - #74995
30.0.93; shortdoc-function-examples not autoloaded

Previous Next

Package: emacs;

Reported by: Fran Burstall <fran.burstall <at> gmail.com>

Date: Fri, 20 Dec 2024 15:48:02 UTC

Severity: normal

Found in version 30.0.93

Fixed in version 30.1

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Fran Burstall <fran.burstall <at> gmail.com>
Cc: 74995 <at> debbugs.gnu.org
Subject: bug#74995: 30.0.93; shortdoc-function-examples not autoloaded
Date: Fri, 20 Dec 2024 17:56:30 +0200
> From: Fran Burstall <fran.burstall <at> gmail.com>
> Date: Fri, 20 Dec 2024 15:44:25 +0000
> 
> 
> According to the NEWS, there are new functions
> 
> shortdoc-function-examples
> shortdoc-help-fns-examples-function
> 
> and a suggestion to
> 
> (add-hook 'help-fns-describe-function-functions
>     #'shortdoc-help-fns-examples-function)
> 
> However, neither function is available until the shortdoc
> package is loaded.
> 
> Perhaps a couple of autoload cookies are needed here?

I started "emacs -Q", inserted

    (add-hook 'help-fns-describe-function-functions
	#'shortdoc-help-fns-examples-function)

into *scratch*, evaluated it, then typed "C-h f string-replace RET"
and got a *Help* buffer with an example of using string-replace.  So
I'm not sure why you say we need autoload cookies, since the advice in
NEWS seems to work OOTB.  What did I miss?

Thanks.




This bug report was last modified 139 days ago.

Previous Next


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