aboutsummaryrefslogtreecommitdiff
path: root/compat-macs.el
diff options
context:
space:
mode:
authorDaniel Mendler <mail@daniel-mendler.de>2023-01-05 19:26:13 +0100
committerDaniel Mendler <mail@daniel-mendler.de>2023-01-05 19:26:13 +0100
commit06d0369d6c5e78e729e6a2f15584360f6e03cf44 (patch)
treeb4195daded0d62bc8689e2d58fafb4f9df282119 /compat-macs.el
parent52886046afd6a823eb4f3c022f5cb54347ac006e (diff)
Hotfix, add missing version check
Diffstat (limited to 'compat-macs.el')
-rw-r--r--compat-macs.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/compat-macs.el b/compat-macs.el
index 0293111..8172ec9 100644
--- a/compat-macs.el
+++ b/compat-macs.el
@@ -98,6 +98,8 @@ ignored:
nil)
((plist-get attr :explicit)
t)
+ ((and (version<= compat--current-version emacs-version) (not cond))
+ nil)
((and (if cond (eval cond t) t)
(funcall check-fn)))))
(cond