Max Nikulin <maniku...@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>

Reply via email to