Fix tests: Only load mu4e compat code if mu4e-mu-version is bound

Otherwise evil-collection unit tests on github don't work. This is a hotfix and
possibly not ideal.
This commit is contained in:
Michael Eliachevitch 2023-04-20 02:50:02 +02:00
parent 2a773757de
commit 70f6ba7846
No known key found for this signature in database
GPG Key ID: 1B8F95C8125DCE31
1 changed files with 2 additions and 1 deletions

View File

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