[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals-release/org 9cee879b36 4/4: org-assert-version: Small r
From: |
ELPA Syncer |
Subject: |
[elpa] externals-release/org 9cee879b36 4/4: org-assert-version: Small refactoring |
Date: |
Sun, 1 Jan 2023 08:58:03 -0500 (EST) |
branch: externals-release/org
commit 9cee879b36189806d078dd448a82e91d97513500
Author: Ihor Radchenko <yantar92@posteo.net>
Commit: Ihor Radchenko <yantar92@posteo.net>
org-assert-version: Small refactoring
* lisp/org-macs.el (org-assert-version): Make quoting "'" in the
message more readable.
Thanks to Stefan Monnier <monnier@iro.umontreal.ca> for the
suggestion.
---
lisp/org-macs.el | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/lisp/org-macs.el b/lisp/org-macs.el
index 3cf2208227..d071cf6b37 100644
--- a/lisp/org-macs.el
+++ b/lisp/org-macs.el
@@ -74,13 +74,15 @@ Version mismatch is commonly encountered in the following
situations:
loading of the newer Org version.
It is recommended to put
- (straight-use-package %sorg)
+
+ %s
+
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."
- "'" ; Avoid `warn' replacing "'" with "’" (see `format-message').
- )
+ ;; 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")))
;; We rely on org-macs when generating Org version. Checking Org