From 095f8f1e8bd52ea385415edab57be398b332ebb0 Mon Sep 17 00:00:00 2001 From: Michael Eliachevitch Date: Thu, 20 Apr 2023 03:02:39 +0200 Subject: [PATCH] fixup! Fix tests: Only load mu4e compat code if mu4e-mu-version is bound --- modes/mu4e/evil-collection-mu4e.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modes/mu4e/evil-collection-mu4e.el b/modes/mu4e/evil-collection-mu4e.el index 8b7887e..7313985 100644 --- a/modes/mu4e/evil-collection-mu4e.el +++ b/modes/mu4e/evil-collection-mu4e.el @@ -76,7 +76,7 @@ ;; continue supporting loading 1.8 code because mu4e has a C-dependency and is ;; often installed from linux distro package repositories, and therefore can be ;; severely out-of-date. -(if (and (boundp mu4e-mu-version) ; avoid evil-collection unit-tests failing from unbound variable +(if (and (boundp 'mu4e-mu-version) ; avoid evil-collection unit-tests failing from unbound variable (version< mu4e-mu-version "1.9")) (require 'evil-collection-mu4e (expand-file-name "modes/mu4e/evil-collection-mu4e-1.8" evil-collection-base-dir))