On 18/12/2022 20:04, Ihor Radchenko wrote:
Max Nikulin writes:
It is possible to convert the error to a better one by checking if
`org-assert-version' is bound in org.el.
We might do something like
(eval-and-compile (org-assert-version))
This will give obscure error during compiling since `org-assert-version'
is not defined.
Unsure what will happen during load of the org.el file since org.elc is
not produced. Perhaps the same cryptic error, but I can not explain it.
My idea (unchecked)
;; Remove when support of Emacs-29 is dropped.
(unless (fboundp 'org-assert-version)
(error "Org is compiled or loaded while older version loaded already.
Please, ensure that no other org versions are loaded and recompile."))