Only load mu4e-compatibility code for mu4e 1.8 or older, not 1.9

The 1.9 release numbers were the pre-releases where the new features and the new
interface were introduced. They were not packaged in distro repositories,
therefore I would not load backwards compatibility code for that. 1.8 is stable
and packaged in many linux distro repositories.

Further, this improved compatability with the file name that were are loading.
This commit is contained in:
Michael Eliachevitch 2023-04-20 02:46:09 +02:00
parent 81816df2c6
commit 2a773757de
No known key found for this signature in database
GPG Key ID: 1B8F95C8125DCE31
1 changed files with 1 additions and 1 deletions

View File

@ -68,7 +68,7 @@
(require 'evil-collection)
(require 'mu4e nil t)
(if (version< mu4e-mu-version "1.10")
(if (version< mu4e-mu-version "1.9")
(require 'evil-collection-mu4e
(expand-file-name "modes/mu4e/evil-collection-mu4e-1.8" evil-collection-base-dir))