Compare `emacs-version' with "29.0.0" instead of "28.9.9"

This commit is contained in:
Gerard Vermeulen 2023-01-10 07:38:07 +01:00
parent 3aa5ed013c
commit 3a91dfffb2

View File

@ -259,7 +259,7 @@ The [[info:emacs#Init File][init file (info)]] does not load the ~custom-file~ a
`,(delq nil `((auctex . "gnu")
(compat . "gnu")
(consult . "gnu-devel")
,(when (version< emacs-version "28.9.9")
,(when (version< emacs-version "29.0.0")
'(eglot . "gnu-devel"))
(embark . "gnu-devel")
(embark-consult . "gnu-devel")
@ -365,9 +365,6 @@ the contents of packages and allows to update packages to the latest version.
(package-install desc 'dont-select)))
;; Shadow built-in `org' by installing `org'.
(shadow-builtin-by-install 'org)
;; Shadow built-in `python' by installing `python'.
(when (version< emacs-version "28.9.9")
(shadow-builtin-by-install 'python))
;; Install the selected packages.
(package-install-selected-packages)))
@ -2345,7 +2342,7 @@ else:
unicode=true,
urlcolor=blue,
}\n")
`,(if (version< emacs-version "28.9.9")
`,(if (version< emacs-version "29.0.0")
'(org-latex-listings 'minted)
'(org-latex-src-block-backend 'minted))
'(org-latex-minted-langs '((cc "c++")
@ -3946,7 +3943,7 @@ mode independent [[https://github.com/joaotavora/eglot][Eglot]] configuration:
#+name: lst:minimal-eglot-setup
#+begin_src emacs-lisp
(with-eval-after-load 'emacs
(when (version< emacs-version "28.9.9")
(when (version< emacs-version "29.0.0")
(ensure-package-installation 'eglot))
;; Replace `nil' with `t' for debugging.