emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/compat 5936773 08/99: Fix installation check


From: ELPA Syncer
Subject: [elpa] externals/compat 5936773 08/99: Fix installation check
Date: Sun, 17 Oct 2021 05:57:48 -0400 (EDT)

branch: externals/compat
commit 5936773a5d42fa61fd66fce875669c7953c0a344
Author: Philip Kaludercic <philipk@posteo.net>
Commit: Philip Kaludercic <philipk@posteo.net>

    Fix installation check
---
 compat-macs.el | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/compat-macs.el b/compat-macs.el
index 2199145..39a04ee 100644
--- a/compat-macs.el
+++ b/compat-macs.el
@@ -84,14 +84,14 @@ attributes are handled, all others are ignored:
                   (,@(cond
                       (force
                        '(progn))
-                      ((or (or (not version)
-                               (version< emacs-version version))
-                           (or (not min-version)
-                               (version<= min-version emacs-version))
-                           (or (not max-version)
-                               (version<= emacs-version max-version)))
-                       '(compat--ignore))
-                      (`(when ,(funcall check-fn realname))))
+                      ((and (or (not version)
+                                (version< emacs-version version))
+                            (or (not min-version)
+                                (version<= min-version emacs-version))
+                            (or (not max-version)
+                                (version<= emacs-version max-version)))
+                       `(unless ,(funcall check-fn realname)))
+                      ('(compat--ignore)))
                    ,(funcall install-fn realname)))))
     (if (and feature (not compat--disable-defer))
         `(eval-after-load ',feature (lambda () ,body))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]