[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Autoload `org-assert-version' and remove org-loaddefs.el
From: |
Ihor Radchenko |
Subject: |
Re: [PATCH] Autoload `org-assert-version' and remove org-loaddefs.el |
Date: |
Sun, 09 Apr 2023 08:29:28 +0000 |
Max Nikulin <manikulin@gmail.com> writes:
> I would consider adding to ELPA README and Org manual something like:
>
> If compiling of ELPA packages causes a lot of warnings related to
> `org-assert-version' then delete just installed Org package, start new
> Emacs session ensuring that Org is not loaded (-q?) and try to install
> from such clean state.
What about creating org-assert-version.el file that will contain
something like
(if (fboundp 'org-assert-version)
(org-assert-version)
(warn "<workaround for compilation>"))
Then, instead of (org-assert-version) call, we can put
(load "org-assert-version.el") in Org libraries.
--
Ihor Radchenko // yantar92,
Org mode contributor,
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>