[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: |
Wed, 07 Dec 2022 11:43:47 +0000 |
Bastien <bzg@gnu.org> writes:
> That said, do you have any idea how to fix the bug people encounter
> when installing Org from ELPA and being bitten by "invalid-function
> org-assert-version"?
I just asked Emacs devs as it does not look like we do anything wrong
here. It is probably Emacs package.el doing something wrong.
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=59882
That said, I find David Masterson's suggestion promising:
(if (and (featurep 'org) (< org-version 9.6))
(unload-feature 'org))
We may force unloading the current Org version at the beginning of all
the libraries.
Another possibility could be
(eval-when-compile (load-file "./org-macs.el"))
instead of require.
--
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>
Re: [PATCH] Autoload `org-assert-version' and remove org-loaddefs.el, David Masterson, 2022/12/05