0
0
Fork 1
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-08-25 16:02:52 +00:00

org-assert-version: Do not display "'" as "’" in the code sample

* lisp/org-macs.el (org-assert-version): Dislpay (straight-use-package
'org) literally in the warning.

Reported-by: Stephen Eglen <sje30@cam.ac.uk>
Link: https://orgmode.org/list/m2edsgq1t8.fsf@cam.ac.uk
This commit is contained in:
Ihor Radchenko 2022-12-31 16:10:11 +03:00
parent 18577a495b
commit 62dc49509c
No known key found for this signature in database
GPG key ID: 6470762A7DA11D8B

View file

@ -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