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

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

[elpa] externals/compat e4cc83840b 3/4: Fix handling of unknown declare


From: ELPA Syncer
Subject: [elpa] externals/compat e4cc83840b 3/4: Fix handling of unknown declare properties before Emacs 25
Date: Mon, 7 Mar 2022 09:57:22 -0500 (EST)

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

    Fix handling of unknown declare properties before Emacs 25
---
 compat-macs.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/compat-macs.el b/compat-macs.el
index 6a9a7b7fb1..1b762d8428 100644
--- a/compat-macs.el
+++ b/compat-macs.el
@@ -202,7 +202,7 @@ attributes (see `compat-generate-common')."
     ;; It might be possible to set these properties otherwise.  That
     ;; should be looked into and implemented if it is the case.
     (when (and (listp (car-safe body)) (eq (caar body) 'declare))
-      (when (version<= "25" emacs-version)
+      (when (version<= emacs-version "25")
         (delq (assq 'side-effect-free (car body)) (car body))
         (delq (assq 'pure (car body)) (car body))))
     ;; Check if we want an explicitly prefixed function



reply via email to

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