mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-08-25 16:32:51 +00:00
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.
This commit is contained in:
parent
79e5e42e50
commit
9cee879b36
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue