Morgan Smith <[email protected]> writes:

> Here is a patch which solves the problem by eagerly loading the
> appropriate stuff.
>
> From 661176eb8b089e7716218a05b00ac110aefddde4 Mon Sep 17 00:00:00 2001
> From: Morgan Smith <[email protected]>
> Date: Tue, 22 Sep 2026 15:50:04 -0400
> Subject: [PATCH] mk/org-fixup.el: Speed up loaddefs generation
>
> This speeds up loaddefs generation from 1.905 to 1.059 seconds for me
> on Emacs 32.0.50.
> * mk/org-fixup.el (org-make-org-loaddefs) Speed up loaddefs generation
> by eagerly loading macros.

This fixes it for me.
Thanks!
Applied onto main.
https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=825c26414

-- 
Ihor Radchenko // yantar92,
Org mode maintainer,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>

Reply via email to