branch: externals-release/org commit 9cee879b36189806d078dd448a82e91d97513500 Author: Ihor Radchenko <yanta...@posteo.net> Commit: Ihor Radchenko <yanta...@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 <monn...@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