From 62dc49509c8962bd2a19c4c4475fc616eebdfde8 Mon Sep 17 00:00:00 2001 From: Ihor Radchenko Date: Sat, 31 Dec 2022 16:10:11 +0300 Subject: [PATCH] =?UTF-8?q?org-assert-version:=20Do=20not=20display=20"'"?= =?UTF-8?q?=20as=20"=E2=80=99"=20in=20the=20code=20sample?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * lisp/org-macs.el (org-assert-version): Dislpay (straight-use-package 'org) literally in the warning. Reported-by: Stephen Eglen Link: https://orgmode.org/list/m2edsgq1t8.fsf@cam.ac.uk --- lisp/org-macs.el | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lisp/org-macs.el b/lisp/org-macs.el index 0c6a2173d..3cf220822 100644 --- a/lisp/org-macs.el +++ b/lisp/org-macs.el @@ -74,11 +74,13 @@ Version mismatch is commonly encountered in the following situations: loading of the newer Org version. It is recommended to put - (straight-use-package 'org) + (straight-use-package %sorg) 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." + "'" ; Avoid `warn' replacing "'" with "’" (see `format-message'). + ) (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