emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/org 7440911e49 1/7: Merge branch 'bugfix'


From: ELPA Syncer
Subject: [elpa] externals/org 7440911e49 1/7: Merge branch 'bugfix'
Date: Sun, 24 Dec 2023 06:58:28 -0500 (EST)

branch: externals/org
commit 7440911e492e01eec36cf4252a9194edf7e00462
Merge: f280b2178c 58c91cbf9f
Author: Ihor Radchenko <yantar92@posteo.net>
Commit: Ihor Radchenko <yantar92@posteo.net>

    Merge branch 'bugfix'
---
 lisp/org-macs.el | 13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)

diff --git a/lisp/org-macs.el b/lisp/org-macs.el
index 98e16a5fd9..35146acf04 100644
--- a/lisp/org-macs.el
+++ b/lisp/org-macs.el
@@ -57,7 +57,7 @@ by `package-activate-all').")
   ;; `org-git-version' check because the generated Org version strings
   ;; will not match.
   `(unless (or org--inhibit-version-check (equal (org-release) ,(org-release)))
-     (warn "Org version mismatch.  Org loading aborted.
+     (warn "Org version mismatch.
 This warning usually appears when a built-in Org version is loaded
 prior to the more recent Org version.
 
@@ -91,10 +91,15 @@ Version mismatch is commonly encountered in the following 
situations:
    early in the config.  Ideally, right after the straight.el
    bootstrap.  Moving `use-package' :straight declaration may not be
    sufficient if the corresponding `use-package' statement is
-   deferring the loading."
+   deferring the loading.
+
+4. A new Org version is synchronized with Emacs git repository and
+   stale .elc files are still left from the previous build.
+
+   It is recommended to remove .elc files from lisp/org directory and
+   re-compile."
            ;; Avoid `warn' replacing "'" with "’" (see `format-message').
-           "(straight-use-package 'org)")
-     (error "Org version mismatch.  Make sure that correct `load-path' is set 
early in init.el")))
+           "(straight-use-package 'org)")))
 
 ;; We rely on org-macs when generating Org version.  Checking Org
 ;; version here will interfere with Org build process.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]