bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#56260: 29.0.50; Provide a way to define shortdoc groups without load


From: Basil L. Contovounesios
Subject: bug#56260: 29.0.50; Provide a way to define shortdoc groups without loading shortdoc.el
Date: Tue, 28 Jun 2022 16:20:33 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Lars Ingebrigtsen [2022-06-28 14:42 +0200] wrote:

> daanturo <daanturo@gmail.com> 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:
>
> 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.

See also this thread that hypothesised about some alternative
approaches: https://lists.gnu.org/r/emacs-devel/2021-09/msg01719.html

Thanks,

-- 
Basil





reply via email to

[Prev in Thread] Current Thread [Next in Thread]