Subject: bug#56260: 29.0.50; Provide a way to define shortdoc groups without loading shortdoc.el

From: Lars Ingebrigtsen <[email-masked]>
Date: Tue, 28 Jun 2022 14:42:31 +0200

daanturo <[email-masked]> writes:

> Currently to use `define-short-documentation-group`, we must first load
> `shortdoc.el`, but loading it isn't exactly a cheap task: my startup is
> slowed down by ~0.0186s.
>
> We can achieve this with an autoloaded progn:
>
> ```elisp
>
> ;; Allow registering shortdoc groups without loading this file

I've now done this in Emacs 29.  An alternative approach would be to
move all the definitions of groups out of shortdoc.el into a different
file so that loading shortdoc.el would be fast.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no