|
From: | Max Nikulin |
Subject: | Re: Bug? org-assert-version does not prevent mixed install |
Date: | Sun, 18 Dec 2022 21:06:38 +0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 |
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."))
[Prev in Thread] | Current Thread | [Next in Thread] |